import java.util.*;
public class Main{
  public static void main (String args[]){
    Scanner sc = new Scanner(System.in);
    //page
    int a = sc.nextInt();
    
    int print = a/2;
    
    
    if(a%2!=0){
      print++;
    }
    
    System.out.println(print);
    
  }
} import java.util.*; util.* java public class Main{
  public static void main (String args[]){
    Scanner sc = new Scanner(System.in);
    //page
    int a = sc.nextInt();
    
    int print = a/2;
    
    
    if(a%2!=0){
      print++;
    }
    
    System.out.println(print);
    
  }
} Main public static void main (String args[]){
    Scanner sc = new Scanner(System.in);
    //page
    int a = sc.nextInt();
    
    int print = a/2;
    
    
    if(a%2!=0){
      print++;
    }
    
    System.out.println(print);
    
  } main {
    Scanner sc = new Scanner(System.in);
    //page
    int a = sc.nextInt();
    
    int print = a/2;
    
    
    if(a%2!=0){
      print++;
    }
    
    System.out.println(print);
    
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int print = a/2; print a/2 a 2 if(a%2!=0){
      print++;
    } a%2!=0 a%2 a 2 0 {
      print++;
    } print++ print System.out.println(print) System.out.println System.out System System.out print String args[] args public class Main{
  public static void main (String args[]){
    Scanner sc = new Scanner(System.in);
    //page
    int a = sc.nextInt();
    
    int print = a/2;
    
    
    if(a%2!=0){
      print++;
    }
    
    System.out.println(print);
    
  }
} public class Main{
  public static void main (String args[]){
    Scanner sc = new Scanner(System.in);
    //page
    int a = sc.nextInt();
    
    int print = a/2;
    
    
    if(a%2!=0){
      print++;
    }
    
    System.out.println(print);
    
  }
} Main
import java.util.*;
public class Main{
  public static void main (String args[]){
    Scanner sc = new Scanner(System.in);
    //page
    int a = sc.nextInt();
    
    int print = a/2;
    
    
    if(a%2!=0){
      print++;
    }
    
    System.out.println(print);
    
  }
}