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