

import java.util.*;




class Main {
    public static void main(String args[]) {
        Scanner s = new Scanner(System.in);
        int n = s.nextInt();

        System.out.println(n / 2 + n % 2);

    }
} import java.util.*; util.* java class Main {
    public static void main(String args[]) {
        Scanner s = new Scanner(System.in);
        int n = s.nextInt();

        System.out.println(n / 2 + n % 2);

    }
} Main public static void main(String args[]) {
        Scanner s = new Scanner(System.in);
        int n = s.nextInt();

        System.out.println(n / 2 + n % 2);

    } main {
        Scanner s = new Scanner(System.in);
        int n = s.nextInt();

        System.out.println(n / 2 + n % 2);

    } Scanner s = new Scanner(System.in); s new Scanner(System.in) int n = s.nextInt(); n s.nextInt() s.nextInt s System.out.println(n / 2 + n % 2) System.out.println System.out System System.out n / 2 + n % 2 n / 2 n 2 n % 2 n 2 String args[] args


import java.util.*;




class Main {
    public static void main(String args[]) {
        Scanner s = new Scanner(System.in);
        int n = s.nextInt();

        System.out.println(n / 2 + n % 2);

    }
}
