import java.util.Scanner;

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

        int N = sc.nextInt();
        int paperNum = 0;

        paperNum += N / 2;

        if (N % 2 == 1) {
            paperNum++;
        }

        System.out.println(paperNum);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int paperNum = 0;

        paperNum += N / 2;

        if (N % 2 == 1) {
            paperNum++;
        }

        System.out.println(paperNum);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int paperNum = 0;

        paperNum += N / 2;

        if (N % 2 == 1) {
            paperNum++;
        }

        System.out.println(paperNum);
    } main {
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int paperNum = 0;

        paperNum += N / 2;

        if (N % 2 == 1) {
            paperNum++;
        }

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

        int N = sc.nextInt();
        int paperNum = 0;

        paperNum += N / 2;

        if (N % 2 == 1) {
            paperNum++;
        }

        System.out.println(paperNum);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int paperNum = 0;

        paperNum += N / 2;

        if (N % 2 == 1) {
            paperNum++;
        }

        System.out.println(paperNum);
    }
} Main
import java.util.Scanner;

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

        int N = sc.nextInt();
        int paperNum = 0;

        paperNum += N / 2;

        if (N % 2 == 1) {
            paperNum++;
        }

        System.out.println(paperNum);
    }
}