import java.util.*;
 public class Main {
	public static void main(String[] args){
      Scanner sc = new Scanner(System.in);

      int N = sc.nextInt();
      int count = 0;
     
      while(N > 0){
      N -= 2;
      count++;
     }

      System.out.print(count);
   }
 } import java.util.*; util.* java public class Main {
	public static void main(String[] args){
      Scanner sc = new Scanner(System.in);

      int N = sc.nextInt();
      int count = 0;
     
      while(N > 0){
      N -= 2;
      count++;
     }

      System.out.print(count);
   }
 } Main public static void main(String[] args){
      Scanner sc = new Scanner(System.in);

      int N = sc.nextInt();
      int count = 0;
     
      while(N > 0){
      N -= 2;
      count++;
     }

      System.out.print(count);
   } main {
      Scanner sc = new Scanner(System.in);

      int N = sc.nextInt();
      int count = 0;
     
      while(N > 0){
      N -= 2;
      count++;
     }

      System.out.print(count);
   } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int count = 0; count 0 while(N > 0){
      N -= 2;
      count++;
     } N > 0 N 0 {
      N -= 2;
      count++;
     } N -= 2 N 2 count++ count System.out.print(count) System.out.print System.out System System.out count String[] args args public class Main {
	public static void main(String[] args){
      Scanner sc = new Scanner(System.in);

      int N = sc.nextInt();
      int count = 0;
     
      while(N > 0){
      N -= 2;
      count++;
     }

      System.out.print(count);
   }
 } public class Main {
	public static void main(String[] args){
      Scanner sc = new Scanner(System.in);

      int N = sc.nextInt();
      int count = 0;
     
      while(N > 0){
      N -= 2;
      count++;
     }

      System.out.print(count);
   }
 } Main
import java.util.*;
 public class Main {
	public static void main(String[] args){
      Scanner sc = new Scanner(System.in);

      int N = sc.nextInt();
      int count = 0;
     
      while(N > 0){
      N -= 2;
      count++;
     }

      System.out.print(count);
   }
 }