import java.util.Scanner;

public class Main{

  public static void main(String[] ards){
    // Nは整数で受け取るのが前提条件
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    
    double number = N;
    double print = number / 2 ;

    System.out.println(Math.round(print));
  }


  




} import java.util.Scanner; Scanner java.util public class Main{

  public static void main(String[] ards){
    // Nは整数で受け取るのが前提条件
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    
    double number = N;
    double print = number / 2 ;

    System.out.println(Math.round(print));
  }


  




} Main public static void main(String[] ards){
    // Nは整数で受け取るのが前提条件
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    
    double number = N;
    double print = number / 2 ;

    System.out.println(Math.round(print));
  } main {
    // Nは整数で受け取るのが前提条件
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    
    double number = N;
    double print = number / 2 ;

    System.out.println(Math.round(print));
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc double number = N; number N double print = number / 2 ; print number / 2 number 2 System.out.println(Math.round(print)) System.out.println System.out System System.out Math.round(print) Math.round Math print String[] ards ards public class Main{

  public static void main(String[] ards){
    // Nは整数で受け取るのが前提条件
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    
    double number = N;
    double print = number / 2 ;

    System.out.println(Math.round(print));
  }


  




} public class Main{

  public static void main(String[] ards){
    // Nは整数で受け取るのが前提条件
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    
    double number = N;
    double print = number / 2 ;

    System.out.println(Math.round(print));
  }


  




} Main
import java.util.Scanner;

public class Main{

  public static void main(String[] ards){
    // Nは整数で受け取るのが前提条件
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    
    double number = N;
    double print = number / 2 ;

    System.out.println(Math.round(print));
  }


  




}