import java.util.Scanner;

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

    		int result = (int)Math.ceil((double)n / 2);
    		System.out.println(result);

    	} finally {
    		sc.close();
    	}
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	try {
    		final int n = sc.nextInt();

    		int result = (int)Math.ceil((double)n / 2);
    		System.out.println(result);

    	} finally {
    		sc.close();
    	}
    }
} Main public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	try {
    		final int n = sc.nextInt();

    		int result = (int)Math.ceil((double)n / 2);
    		System.out.println(result);

    	} finally {
    		sc.close();
    	}
    } main {
    	Scanner sc = new Scanner(System.in);
    	try {
    		final int n = sc.nextInt();

    		int result = (int)Math.ceil((double)n / 2);
    		System.out.println(result);

    	} finally {
    		sc.close();
    	}
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) try {
    		final int n = sc.nextInt();

    		int result = (int)Math.ceil((double)n / 2);
    		System.out.println(result);

    	} finally {
    		sc.close();
    	} {
    		sc.close();
    	} sc.close() sc.close sc {
    		final int n = sc.nextInt();

    		int result = (int)Math.ceil((double)n / 2);
    		System.out.println(result);

    	} final int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int result = (int)Math.ceil((double)n / 2); result (int)Math.ceil((double)n / 2) Math.ceil Math (double)n / 2 (double)n 2 System.out.println(result) System.out.println System.out System System.out result String[] args args public class Main {
    public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	try {
    		final int n = sc.nextInt();

    		int result = (int)Math.ceil((double)n / 2);
    		System.out.println(result);

    	} finally {
    		sc.close();
    	}
    }
} public class Main {
    public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	try {
    		final int n = sc.nextInt();

    		int result = (int)Math.ceil((double)n / 2);
    		System.out.println(result);

    	} finally {
    		sc.close();
    	}
    }
} Main
import java.util.Scanner;

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

    		int result = (int)Math.ceil((double)n / 2);
    		System.out.println(result);

    	} finally {
    		sc.close();
    	}
    }
}
