import java.util.Scanner;

/**
 * https://atcoder.jp/contests/abc157/tasks/abc157_a
 *
 */
public final class Main {

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			int n = scanner.nextInt();
			int ans = n / 2 + (n % 2);
			System.out.println(ans);
		}
	}

} import java.util.Scanner; Scanner java.util public final class Main {

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			int n = scanner.nextInt();
			int ans = n / 2 + (n % 2);
			System.out.println(ans);
		}
	}

} Main public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			int n = scanner.nextInt();
			int ans = n / 2 + (n % 2);
			System.out.println(ans);
		}
	} main {
		try (Scanner scanner = new Scanner(System.in)) {
			int n = scanner.nextInt();
			int ans = n / 2 + (n % 2);
			System.out.println(ans);
		}
	} try (Scanner scanner = new Scanner(System.in)) {
			int n = scanner.nextInt();
			int ans = n / 2 + (n % 2);
			System.out.println(ans);
		} {
			int n = scanner.nextInt();
			int ans = n / 2 + (n % 2);
			System.out.println(ans);
		} Scanner scanner = new Scanner(System.in) Scanner scanner = new Scanner(System.in) new Scanner(System.in) int n = scanner.nextInt(); n scanner.nextInt() scanner.nextInt scanner int ans = n / 2 + (n % 2); ans n / 2 + (n % 2) n / 2 n 2 (n % 2) n 2 System.out.println(ans) System.out.println System.out System System.out ans String[] args args public final class Main {

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			int n = scanner.nextInt();
			int ans = n / 2 + (n % 2);
			System.out.println(ans);
		}
	}

} public final class Main {

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			int n = scanner.nextInt();
			int ans = n / 2 + (n % 2);
			System.out.println(ans);
		}
	}

} Main
import java.util.Scanner;

/**
 * https://atcoder.jp/contests/abc157/tasks/abc157_a
 *
 */
public final class Main {

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			int n = scanner.nextInt();
			int ans = n / 2 + (n % 2);
			System.out.println(ans);
		}
	}

}
