import java.util.*;

class Main {
    Scanner sc = new Scanner(System.in);

    public static void main(String[] args) {
        Main m = new Main();
        m.run();
    }

    private void run() {
        System.out.println((int)Math.ceil(sc.nextDouble() / 2));
    }
} import java.util.*; util.* java class Main {
    Scanner sc = new Scanner(System.in);

    public static void main(String[] args) {
        Main m = new Main();
        m.run();
    }

    private void run() {
        System.out.println((int)Math.ceil(sc.nextDouble() / 2));
    }
} Main Scanner sc = new Scanner(System.in); sc new Scanner(System.in) public static void main(String[] args) {
        Main m = new Main();
        m.run();
    } main {
        Main m = new Main();
        m.run();
    } Main m = new Main(); m new Main() m.run() m.run m String[] args args private void run() {
        System.out.println((int)Math.ceil(sc.nextDouble() / 2));
    } run {
        System.out.println((int)Math.ceil(sc.nextDouble() / 2));
    } System.out.println((int)Math.ceil(sc.nextDouble() / 2)) System.out.println System.out System System.out (int)Math.ceil(sc.nextDouble() / 2) Math.ceil Math sc.nextDouble() / 2 sc.nextDouble() sc.nextDouble sc 2
import java.util.*;

class Main {
    Scanner sc = new Scanner(System.in);

    public static void main(String[] args) {
        Main m = new Main();
        m.run();
    }

    private void run() {
        System.out.println((int)Math.ceil(sc.nextDouble() / 2));
    }
}
