import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int N = Integer.parseInt(s.next());
        System.out.println((int) Math.ceil((double) N / 2));
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int N = Integer.parseInt(s.next());
        System.out.println((int) Math.ceil((double) N / 2));
    }
} Main public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int N = Integer.parseInt(s.next());
        System.out.println((int) Math.ceil((double) N / 2));
    } main {
        Scanner s = new Scanner(System.in);
        int N = Integer.parseInt(s.next());
        System.out.println((int) Math.ceil((double) N / 2));
    } Scanner s = new Scanner(System.in); s new Scanner(System.in) int N = Integer.parseInt(s.next()); N Integer.parseInt(s.next()) Integer.parseInt Integer s.next() s.next s System.out.println((int) Math.ceil((double) N / 2)) System.out.println System.out System System.out (int) Math.ceil((double) N / 2) Math.ceil Math (double) N / 2 (double) N 2 String[] args args public class Main {

    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int N = Integer.parseInt(s.next());
        System.out.println((int) Math.ceil((double) N / 2));
    }
} public class Main {

    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int N = Integer.parseInt(s.next());
        System.out.println((int) Math.ceil((double) N / 2));
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int N = Integer.parseInt(s.next());
        System.out.println((int) Math.ceil((double) N / 2));
    }
}