import java.util.Scanner;

public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int page = n / 2;
		
		if(n % 2 > 0){
			page++;
		}
		
		System.out.println(page);
	}
} 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 page = n / 2;
		
		if(n % 2 > 0){
			page++;
		}
		
		System.out.println(page);
	}
} Main public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int page = n / 2;
		
		if(n % 2 > 0){
			page++;
		}
		
		System.out.println(page);
	} main {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int page = n / 2;
		
		if(n % 2 > 0){
			page++;
		}
		
		System.out.println(page);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int page = n / 2; page n / 2 n 2 if(n % 2 > 0){
			page++;
		} n % 2 > 0 n % 2 n 2 0 {
			page++;
		} page++ page System.out.println(page) System.out.println System.out System System.out page String[] args args public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int page = n / 2;
		
		if(n % 2 > 0){
			page++;
		}
		
		System.out.println(page);
	}
} public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int page = n / 2;
		
		if(n % 2 > 0){
			page++;
		}
		
		System.out.println(page);
	}
} 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 page = n / 2;
		
		if(n % 2 > 0){
			page++;
		}
		
		System.out.println(page);
	}
}