import java.util.Scanner;
 
class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String line = in.nextLine();
        int value = Integer.valueOf(line);
        System.out.printf("%d", (value + 1) / 2);
    }
} import java.util.Scanner; Scanner java.util class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String line = in.nextLine();
        int value = Integer.valueOf(line);
        System.out.printf("%d", (value + 1) / 2);
    }
} Main public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String line = in.nextLine();
        int value = Integer.valueOf(line);
        System.out.printf("%d", (value + 1) / 2);
    } main {
        Scanner in = new Scanner(System.in);
        String line = in.nextLine();
        int value = Integer.valueOf(line);
        System.out.printf("%d", (value + 1) / 2);
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) String line = in.nextLine(); line in.nextLine() in.nextLine in int value = Integer.valueOf(line); value Integer.valueOf(line) Integer.valueOf Integer line System.out.printf("%d", (value + 1) / 2) System.out.printf System.out System System.out "%d" (value + 1) / 2 (value + 1) value 1 2 String[] args args
import java.util.Scanner;
 
class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String line = in.nextLine();
        int value = Integer.valueOf(line);
        System.out.printf("%d", (value + 1) / 2);
    }
}