import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int a = s.nextInt();
		System.out.println(a % 2 == 0 ? a / 2 : a / 2 + 1 );
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int a = s.nextInt();
		System.out.println(a % 2 == 0 ? a / 2 : a / 2 + 1 );
	}
} Main public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int a = s.nextInt();
		System.out.println(a % 2 == 0 ? a / 2 : a / 2 + 1 );
	} main {
		Scanner s = new Scanner(System.in);
		int a = s.nextInt();
		System.out.println(a % 2 == 0 ? a / 2 : a / 2 + 1 );
	} Scanner s = new Scanner(System.in); s new Scanner(System.in) int a = s.nextInt(); a s.nextInt() s.nextInt s System.out.println(a % 2 == 0 ? a / 2 : a / 2 + 1 ) System.out.println System.out System System.out a % 2 == 0 ? a / 2 : a / 2 + 1 a % 2 == 0 a % 2 a 2 0 a / 2 a 2 a / 2 + 1 a / 2 a 2 1 String[] args args public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int a = s.nextInt();
		System.out.println(a % 2 == 0 ? a / 2 : a / 2 + 1 );
	}
} public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int a = s.nextInt();
		System.out.println(a % 2 == 0 ? a / 2 : a / 2 + 1 );
	}
} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int a = s.nextInt();
		System.out.println(a % 2 == 0 ? a / 2 : a / 2 + 1 );
	}
}
