import java.io.*;
import java.util.Scanner;

public class Main {
  
  public static void main(String[] args){
    
    try {
      
      //標準入力受け取り
      Scanner scan = new Scanner(System.in);
      double page = Integer.parseInt(scan.next());
      
      //用紙算出
      System.out.println((int) Math.ceil(page / 2));
      
    } catch (Exception e) {
      
      System.out.println("error");

    }
  }
} import java.io.*; io.* java import java.util.Scanner; Scanner java.util public class Main {
  
  public static void main(String[] args){
    
    try {
      
      //標準入力受け取り
      Scanner scan = new Scanner(System.in);
      double page = Integer.parseInt(scan.next());
      
      //用紙算出
      System.out.println((int) Math.ceil(page / 2));
      
    } catch (Exception e) {
      
      System.out.println("error");

    }
  }
} Main public static void main(String[] args){
    
    try {
      
      //標準入力受け取り
      Scanner scan = new Scanner(System.in);
      double page = Integer.parseInt(scan.next());
      
      //用紙算出
      System.out.println((int) Math.ceil(page / 2));
      
    } catch (Exception e) {
      
      System.out.println("error");

    }
  } main {
    
    try {
      
      //標準入力受け取り
      Scanner scan = new Scanner(System.in);
      double page = Integer.parseInt(scan.next());
      
      //用紙算出
      System.out.println((int) Math.ceil(page / 2));
      
    } catch (Exception e) {
      
      System.out.println("error");

    }
  } try {
      
      //標準入力受け取り
      Scanner scan = new Scanner(System.in);
      double page = Integer.parseInt(scan.next());
      
      //用紙算出
      System.out.println((int) Math.ceil(page / 2));
      
    } catch (Exception e) {
      
      System.out.println("error");

    } catch (Exception e) {
      
      System.out.println("error");

    } Exception e {
      
      System.out.println("error");

    } System.out.println("error") System.out.println System.out System System.out "error" {
      
      //標準入力受け取り
      Scanner scan = new Scanner(System.in);
      double page = Integer.parseInt(scan.next());
      
      //用紙算出
      System.out.println((int) Math.ceil(page / 2));
      
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double page = Integer.parseInt(scan.next()); page Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan System.out.println((int) Math.ceil(page / 2)) System.out.println System.out System System.out (int) Math.ceil(page / 2) Math.ceil Math page / 2 page 2 String[] args args public class Main {
  
  public static void main(String[] args){
    
    try {
      
      //標準入力受け取り
      Scanner scan = new Scanner(System.in);
      double page = Integer.parseInt(scan.next());
      
      //用紙算出
      System.out.println((int) Math.ceil(page / 2));
      
    } catch (Exception e) {
      
      System.out.println("error");

    }
  }
} public class Main {
  
  public static void main(String[] args){
    
    try {
      
      //標準入力受け取り
      Scanner scan = new Scanner(System.in);
      double page = Integer.parseInt(scan.next());
      
      //用紙算出
      System.out.println((int) Math.ceil(page / 2));
      
    } catch (Exception e) {
      
      System.out.println("error");

    }
  }
} Main
import java.io.*;
import java.util.Scanner;

public class Main {
  
  public static void main(String[] args){
    
    try {
      
      //標準入力受け取り
      Scanner scan = new Scanner(System.in);
      double page = Integer.parseInt(scan.next());
      
      //用紙算出
      System.out.println((int) Math.ceil(page / 2));
      
    } catch (Exception e) {
      
      System.out.println("error");

    }
  }
}