import java.util.*;

public class Main {
    Integer result = 0;
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int count = sc.nextInt();
        if (count % 2 == 0) {
            System.out.println(count / 2);
        } else {
            System.out.println((count / 2) + 1);
        }
    }

} import java.util.*; util.* java public class Main {
    Integer result = 0;
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int count = sc.nextInt();
        if (count % 2 == 0) {
            System.out.println(count / 2);
        } else {
            System.out.println((count / 2) + 1);
        }
    }

} Main Integer result = 0; result 0 public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int count = sc.nextInt();
        if (count % 2 == 0) {
            System.out.println(count / 2);
        } else {
            System.out.println((count / 2) + 1);
        }
    } main {
        Scanner sc = new Scanner(System.in);
        int count = sc.nextInt();
        if (count % 2 == 0) {
            System.out.println(count / 2);
        } else {
            System.out.println((count / 2) + 1);
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int count = sc.nextInt(); count sc.nextInt() sc.nextInt sc if (count % 2 == 0) {
            System.out.println(count / 2);
        } else {
            System.out.println((count / 2) + 1);
        } count % 2 == 0 count % 2 count 2 0 {
            System.out.println(count / 2);
        } System.out.println(count / 2) System.out.println System.out System System.out count / 2 count 2 {
            System.out.println((count / 2) + 1);
        } System.out.println((count / 2) + 1) System.out.println System.out System System.out (count / 2) + 1 (count / 2) count 2 1 String[] args args public class Main {
    Integer result = 0;
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int count = sc.nextInt();
        if (count % 2 == 0) {
            System.out.println(count / 2);
        } else {
            System.out.println((count / 2) + 1);
        }
    }

} public class Main {
    Integer result = 0;
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int count = sc.nextInt();
        if (count % 2 == 0) {
            System.out.println(count / 2);
        } else {
            System.out.println((count / 2) + 1);
        }
    }

} Main
import java.util.*;

public class Main {
    Integer result = 0;
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int count = sc.nextInt();
        if (count % 2 == 0) {
            System.out.println(count / 2);
        } else {
            System.out.println((count / 2) + 1);
        }
    }

}