import java.util.*;
import java.util.Scanner;
class Main{
    public static void main(String[] args)
    {
        int n;
        int result;
        int cal1;
        Scanner scanner = new Scanner(System.in);
        n = scanner.nextInt();

        if(n % 2 == 0){
            result = n / 2;
        }else{
            cal1 = n % 2;
            result = n / 2 + cal1;
        }
        
        System.out.println(result);
    }
} import java.util.*; util.* java import java.util.Scanner; Scanner java.util class Main{
    public static void main(String[] args)
    {
        int n;
        int result;
        int cal1;
        Scanner scanner = new Scanner(System.in);
        n = scanner.nextInt();

        if(n % 2 == 0){
            result = n / 2;
        }else{
            cal1 = n % 2;
            result = n / 2 + cal1;
        }
        
        System.out.println(result);
    }
} Main public static void main(String[] args)
    {
        int n;
        int result;
        int cal1;
        Scanner scanner = new Scanner(System.in);
        n = scanner.nextInt();

        if(n % 2 == 0){
            result = n / 2;
        }else{
            cal1 = n % 2;
            result = n / 2 + cal1;
        }
        
        System.out.println(result);
    } main {
        int n;
        int result;
        int cal1;
        Scanner scanner = new Scanner(System.in);
        n = scanner.nextInt();

        if(n % 2 == 0){
            result = n / 2;
        }else{
            cal1 = n % 2;
            result = n / 2 + cal1;
        }
        
        System.out.println(result);
    } int n; n int result; result int cal1; cal1 Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) n = scanner.nextInt() n scanner.nextInt() scanner.nextInt scanner if(n % 2 == 0){
            result = n / 2;
        }else{
            cal1 = n % 2;
            result = n / 2 + cal1;
        } n % 2 == 0 n % 2 n 2 0 {
            result = n / 2;
        } result = n / 2 result n / 2 n 2 {
            cal1 = n % 2;
            result = n / 2 + cal1;
        } cal1 = n % 2 cal1 n % 2 n 2 result = n / 2 + cal1 result n / 2 + cal1 n / 2 n 2 cal1 System.out.println(result) System.out.println System.out System System.out result String[] args args
import java.util.*;
import java.util.Scanner;
class Main{
    public static void main(String[] args)
    {
        int n;
        int result;
        int cal1;
        Scanner scanner = new Scanner(System.in);
        n = scanner.nextInt();

        if(n % 2 == 0){
            result = n / 2;
        }else{
            cal1 = n % 2;
            result = n / 2 + cal1;
        }
        
        System.out.println(result);
    }
}