import java.util.*;

public class Main {
 public static void main(String[] args) {
  
    Scanner sc = new Scanner(System.in);
     
    int a = sc.nextInt();
    

     int sum = 0;
     sum = a / 2;
      if(a % 2 == 0) {
         System.out.print(a / 2); 
} else {
           sum = a / 2;
System.out.print(sum + 1); 
}

      

}

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

     int sum = 0;
     sum = a / 2;
      if(a % 2 == 0) {
         System.out.print(a / 2); 
} else {
           sum = a / 2;
System.out.print(sum + 1); 
}

      

}

} Main public static void main(String[] args) {
  
    Scanner sc = new Scanner(System.in);
     
    int a = sc.nextInt();
    

     int sum = 0;
     sum = a / 2;
      if(a % 2 == 0) {
         System.out.print(a / 2); 
} else {
           sum = a / 2;
System.out.print(sum + 1); 
}

      

} main {
  
    Scanner sc = new Scanner(System.in);
     
    int a = sc.nextInt();
    

     int sum = 0;
     sum = a / 2;
      if(a % 2 == 0) {
         System.out.print(a / 2); 
} else {
           sum = a / 2;
System.out.print(sum + 1); 
}

      

} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int sum = 0; sum 0 sum = a / 2 sum a / 2 a 2 if(a % 2 == 0) {
         System.out.print(a / 2); 
} else {
           sum = a / 2;
System.out.print(sum + 1); 
} a % 2 == 0 a % 2 a 2 0 {
         System.out.print(a / 2); 
} System.out.print(a / 2) System.out.print System.out System System.out a / 2 a 2 {
           sum = a / 2;
System.out.print(sum + 1); 
} sum = a / 2 sum a / 2 a 2 System.out.print(sum + 1) System.out.print System.out System System.out sum + 1 sum 1 String[] args args public class Main {
 public static void main(String[] args) {
  
    Scanner sc = new Scanner(System.in);
     
    int a = sc.nextInt();
    

     int sum = 0;
     sum = a / 2;
      if(a % 2 == 0) {
         System.out.print(a / 2); 
} else {
           sum = a / 2;
System.out.print(sum + 1); 
}

      

}

} public class Main {
 public static void main(String[] args) {
  
    Scanner sc = new Scanner(System.in);
     
    int a = sc.nextInt();
    

     int sum = 0;
     sum = a / 2;
      if(a % 2 == 0) {
         System.out.print(a / 2); 
} else {
           sum = a / 2;
System.out.print(sum + 1); 
}

      

}

} Main
import java.util.*;

public class Main {
 public static void main(String[] args) {
  
    Scanner sc = new Scanner(System.in);
     
    int a = sc.nextInt();
    

     int sum = 0;
     sum = a / 2;
      if(a % 2 == 0) {
         System.out.print(a / 2); 
} else {
           sum = a / 2;
System.out.print(sum + 1); 
}

      

}

}