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