import java.util.Scanner;

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

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