import java.util.*;
import java.lang.Math;
import java.io.*;

public class Main
{
  public static void main(String[] args)
  {
    Scanner in = new Scanner(System.in);
    double n = (double)in.nextInt();
    System.out.println(Math.round(n/2));
  }
} import java.util.*; util.* java import java.lang.Math; Math java.lang import java.io.*; io.* java public class Main
{
  public static void main(String[] args)
  {
    Scanner in = new Scanner(System.in);
    double n = (double)in.nextInt();
    System.out.println(Math.round(n/2));
  }
} Main public static void main(String[] args)
  {
    Scanner in = new Scanner(System.in);
    double n = (double)in.nextInt();
    System.out.println(Math.round(n/2));
  } main {
    Scanner in = new Scanner(System.in);
    double n = (double)in.nextInt();
    System.out.println(Math.round(n/2));
  } Scanner in = new Scanner(System.in); in new Scanner(System.in) double n = (double)in.nextInt(); n (double)in.nextInt() in.nextInt in System.out.println(Math.round(n/2)) System.out.println System.out System System.out Math.round(n/2) Math.round Math n/2 n 2 String[] args args public class Main
{
  public static void main(String[] args)
  {
    Scanner in = new Scanner(System.in);
    double n = (double)in.nextInt();
    System.out.println(Math.round(n/2));
  }
} public class Main
{
  public static void main(String[] args)
  {
    Scanner in = new Scanner(System.in);
    double n = (double)in.nextInt();
    System.out.println(Math.round(n/2));
  }
} Main
import java.util.*;
import java.lang.Math;
import java.io.*;

public class Main
{
  public static void main(String[] args)
  {
    Scanner in = new Scanner(System.in);
    double n = (double)in.nextInt();
    System.out.println(Math.round(n/2));
  }
}