
import java.util.Scanner;
import java.lang.Math;

public class Main {
    public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);
        double n = Double.parseDouble(scanner.next());

        int page = (int)Math.ceil(n / 2);


        System.out.println(page);
    }
} import java.util.Scanner; Scanner java.util import java.lang.Math; Math java.lang public class Main {
    public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);
        double n = Double.parseDouble(scanner.next());

        int page = (int)Math.ceil(n / 2);


        System.out.println(page);
    }
} Main public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);
        double n = Double.parseDouble(scanner.next());

        int page = (int)Math.ceil(n / 2);


        System.out.println(page);
    } main {
        //コード
        Scanner scanner = new Scanner(System.in);
        double n = Double.parseDouble(scanner.next());

        int page = (int)Math.ceil(n / 2);


        System.out.println(page);
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) double n = Double.parseDouble(scanner.next()); n Double.parseDouble(scanner.next()) Double.parseDouble Double scanner.next() scanner.next scanner int page = (int)Math.ceil(n / 2); page (int)Math.ceil(n / 2) Math.ceil Math n / 2 n 2 System.out.println(page) System.out.println System.out System System.out page String[] args args public class Main {
    public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);
        double n = Double.parseDouble(scanner.next());

        int page = (int)Math.ceil(n / 2);


        System.out.println(page);
    }
} public class Main {
    public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);
        double n = Double.parseDouble(scanner.next());

        int page = (int)Math.ceil(n / 2);


        System.out.println(page);
    }
} Main

import java.util.Scanner;
import java.lang.Math;

public class Main {
    public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);
        double n = Double.parseDouble(scanner.next());

        int page = (int)Math.ceil(n / 2);


        System.out.println(page);
    }
}