import java.util.Scanner;
public class Main{
	public static void main(String[] args) {
		Scanner scan =new Scanner(System.in);
		double n = scan.nextDouble();
		scan.close();
		double d = n / 2;
		int i = (int)Math.ceil(d);
		System.out.println(i);
	}
} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String[] args) {
		Scanner scan =new Scanner(System.in);
		double n = scan.nextDouble();
		scan.close();
		double d = n / 2;
		int i = (int)Math.ceil(d);
		System.out.println(i);
	}
} Main public static void main(String[] args) {
		Scanner scan =new Scanner(System.in);
		double n = scan.nextDouble();
		scan.close();
		double d = n / 2;
		int i = (int)Math.ceil(d);
		System.out.println(i);
	} main {
		Scanner scan =new Scanner(System.in);
		double n = scan.nextDouble();
		scan.close();
		double d = n / 2;
		int i = (int)Math.ceil(d);
		System.out.println(i);
	} Scanner scan =new Scanner(System.in); scan new Scanner(System.in) double n = scan.nextDouble(); n scan.nextDouble() scan.nextDouble scan scan.close() scan.close scan double d = n / 2; d n / 2 n 2 int i = (int)Math.ceil(d); i (int)Math.ceil(d) Math.ceil Math d System.out.println(i) System.out.println System.out System System.out i String[] args args public class Main{
	public static void main(String[] args) {
		Scanner scan =new Scanner(System.in);
		double n = scan.nextDouble();
		scan.close();
		double d = n / 2;
		int i = (int)Math.ceil(d);
		System.out.println(i);
	}
} public class Main{
	public static void main(String[] args) {
		Scanner scan =new Scanner(System.in);
		double n = scan.nextDouble();
		scan.close();
		double d = n / 2;
		int i = (int)Math.ceil(d);
		System.out.println(i);
	}
} Main
import java.util.Scanner;
public class Main{
	public static void main(String[] args) {
		Scanner scan =new Scanner(System.in);
		double n = scan.nextDouble();
		scan.close();
		double d = n / 2;
		int i = (int)Math.ceil(d);
		System.out.println(i);
	}
}
