import java.util.*;

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

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        double n = sc.nextDouble();
        
        System.out.println((int)Math.ceil(n/2));
    }
}