import java.util.Scanner;

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

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int inputInt = scanner.nextInt();
        int oneMore = inputInt % 2;
        System.out.println(inputInt / 2 + oneMore);
    }
}
