import java.util.Scanner;

public class Main {

    public static void main(String [] commandLineArgument){

        Scanner input = new Scanner(System.in);
        int n = input.nextInt();
        Long answer = (long)(Math.ceil((double)n/2));
        System.out.println(answer);
		input.close();
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String [] commandLineArgument){

        Scanner input = new Scanner(System.in);
        int n = input.nextInt();
        Long answer = (long)(Math.ceil((double)n/2));
        System.out.println(answer);
		input.close();
    }
} Main public static void main(String [] commandLineArgument){

        Scanner input = new Scanner(System.in);
        int n = input.nextInt();
        Long answer = (long)(Math.ceil((double)n/2));
        System.out.println(answer);
		input.close();
    } main {

        Scanner input = new Scanner(System.in);
        int n = input.nextInt();
        Long answer = (long)(Math.ceil((double)n/2));
        System.out.println(answer);
		input.close();
    } Scanner input = new Scanner(System.in); input new Scanner(System.in) int n = input.nextInt(); n input.nextInt() input.nextInt input Long answer = (long)(Math.ceil((double)n/2)); answer (long)(Math.ceil((double)n/2)) Math.ceil Math (double)n/2 (double)n 2 System.out.println(answer) System.out.println System.out System System.out answer input.close() input.close input String [] commandLineArgument commandLineArgument public class Main {

    public static void main(String [] commandLineArgument){

        Scanner input = new Scanner(System.in);
        int n = input.nextInt();
        Long answer = (long)(Math.ceil((double)n/2));
        System.out.println(answer);
		input.close();
    }
} public class Main {

    public static void main(String [] commandLineArgument){

        Scanner input = new Scanner(System.in);
        int n = input.nextInt();
        Long answer = (long)(Math.ceil((double)n/2));
        System.out.println(answer);
		input.close();
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String [] commandLineArgument){

        Scanner input = new Scanner(System.in);
        int n = input.nextInt();
        Long answer = (long)(Math.ceil((double)n/2));
        System.out.println(answer);
		input.close();
    }
}
