import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner scanner = new Scanner(System.in);

        int i = scanner.nextInt();
        int res = i / 2;
        res += (i % 2);
        System.out.println(res);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) throws Exception {
        Scanner scanner = new Scanner(System.in);

        int i = scanner.nextInt();
        int res = i / 2;
        res += (i % 2);
        System.out.println(res);
    }
} Main public static void main(String[] args) throws Exception {
        Scanner scanner = new Scanner(System.in);

        int i = scanner.nextInt();
        int res = i / 2;
        res += (i % 2);
        System.out.println(res);
    } main {
        Scanner scanner = new Scanner(System.in);

        int i = scanner.nextInt();
        int res = i / 2;
        res += (i % 2);
        System.out.println(res);
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int i = scanner.nextInt(); i scanner.nextInt() scanner.nextInt scanner int res = i / 2; res i / 2 i 2 res += (i % 2) res (i % 2) i 2 System.out.println(res) System.out.println System.out System System.out res String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        Scanner scanner = new Scanner(System.in);

        int i = scanner.nextInt();
        int res = i / 2;
        res += (i % 2);
        System.out.println(res);
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner scanner = new Scanner(System.in);

        int i = scanner.nextInt();
        int res = i / 2;
        res += (i % 2);
        System.out.println(res);
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner scanner = new Scanner(System.in);

        int i = scanner.nextInt();
        int res = i / 2;
        res += (i % 2);
        System.out.println(res);
    }
}