import java.util.Scanner;

public class Main {
	public static void main(String... args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();

		int p = (int)Math.ceil(n / 2.0);

		System.out.println(p);
		scan.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String... args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();

		int p = (int)Math.ceil(n / 2.0);

		System.out.println(p);
		scan.close();
	}
} Main public static void main(String... args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();

		int p = (int)Math.ceil(n / 2.0);

		System.out.println(p);
		scan.close();
	} main {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();

		int p = (int)Math.ceil(n / 2.0);

		System.out.println(p);
		scan.close();
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int p = (int)Math.ceil(n / 2.0); p (int)Math.ceil(n / 2.0) Math.ceil Math n / 2.0 n 2.0 System.out.println(p) System.out.println System.out System System.out p scan.close() scan.close scan String... args args public class Main {
	public static void main(String... args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();

		int p = (int)Math.ceil(n / 2.0);

		System.out.println(p);
		scan.close();
	}
} public class Main {
	public static void main(String... args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();

		int p = (int)Math.ceil(n / 2.0);

		System.out.println(p);
		scan.close();
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String... args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();

		int p = (int)Math.ceil(n / 2.0);

		System.out.println(p);
		scan.close();
	}
}