import java.util.Scanner;

public class AtcorderTest {

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

		if(n % 2 == 0) {
			int ans = n/2;
			System.out.println(ans);
		}
		else if(n % 2 == 1) {
			int ans = n/2 + 1;
			System.out.println(ans);
		}

		scan.close();

	}
}