import java.util.*;

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

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