class Main{public static void main(String[]a){System.out.print((new java.util.Scanner(System.in).nextInt()+1)/2);}} class Main{public static void main(String[]a){System.out.print((new java.util.Scanner(System.in).nextInt()+1)/2);}} Main public static void main(String[]a){System.out.print((new java.util.Scanner(System.in).nextInt()+1)/2);} main {System.out.print((new java.util.Scanner(System.in).nextInt()+1)/2);} System.out.print((new java.util.Scanner(System.in).nextInt()+1)/2) System.out.print System.out System System.out (new java.util.Scanner(System.in).nextInt()+1)/2 (new java.util.Scanner(System.in).nextInt()+1) new java.util.Scanner(System.in).nextInt() new java.util.Scanner(System.in).nextInt new java.util.Scanner(System.in) 1 2 String[]a a
class Main{public static void main(String[]a){System.out.print((new java.util.Scanner(System.in).nextInt()+1)/2);}}
