
import java.util.Scanner;
//
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
		int n=sc.nextInt();
		int paper = n/2;
		if (n%2==1) {
			paper ++;
		}
		
		System.out.println(paper);
		
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
	}
	//----------------------------------------
	//置き場

	//----------------------------------------
} 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 paper = n/2;
		if (n%2==1) {
			paper ++;
		}
		
		System.out.println(paper);
		
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
	}
	//----------------------------------------
	//置き場

	//----------------------------------------
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
		int n=sc.nextInt();
		int paper = n/2;
		if (n%2==1) {
			paper ++;
		}
		
		System.out.println(paper);
		
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
	} main {
		Scanner sc = new Scanner(System.in);
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
		int n=sc.nextInt();
		int paper = n/2;
		if (n%2==1) {
			paper ++;
		}
		
		System.out.println(paper);
		
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n=sc.nextInt(); n sc.nextInt() sc.nextInt sc int paper = n/2; paper n/2 n 2 if (n%2==1) {
			paper ++;
		} n%2==1 n%2 n 2 1 {
			paper ++;
		} paper ++ paper System.out.println(paper) System.out.println System.out System System.out paper String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
		int n=sc.nextInt();
		int paper = n/2;
		if (n%2==1) {
			paper ++;
		}
		
		System.out.println(paper);
		
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
	}
	//----------------------------------------
	//置き場

	//----------------------------------------
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
		int n=sc.nextInt();
		int paper = n/2;
		if (n%2==1) {
			paper ++;
		}
		
		System.out.println(paper);
		
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
	}
	//----------------------------------------
	//置き場

	//----------------------------------------
} 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 paper = n/2;
		if (n%2==1) {
			paper ++;
		}
		
		System.out.println(paper);
		
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
	}
	//----------------------------------------
	//置き場

	//----------------------------------------
}