import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int N = scanner.nextInt();
		
		if (N % 2 == 0) {
			System.out.println(N / 2);
		} else {
			double number = (double)N / 2 ;
			System.out.println(Math.round(number));
		}
		
	}
}	 import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int N = scanner.nextInt();
		
		if (N % 2 == 0) {
			System.out.println(N / 2);
		} else {
			double number = (double)N / 2 ;
			System.out.println(Math.round(number));
		}
		
	}
} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int N = scanner.nextInt();
		
		if (N % 2 == 0) {
			System.out.println(N / 2);
		} else {
			double number = (double)N / 2 ;
			System.out.println(Math.round(number));
		}
		
	} main {
		Scanner scanner = new Scanner(System.in);
		int N = scanner.nextInt();
		
		if (N % 2 == 0) {
			System.out.println(N / 2);
		} else {
			double number = (double)N / 2 ;
			System.out.println(Math.round(number));
		}
		
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int N = scanner.nextInt(); N scanner.nextInt() scanner.nextInt scanner if (N % 2 == 0) {
			System.out.println(N / 2);
		} else {
			double number = (double)N / 2 ;
			System.out.println(Math.round(number));
		} N % 2 == 0 N % 2 N 2 0 {
			System.out.println(N / 2);
		} System.out.println(N / 2) System.out.println System.out System System.out N / 2 N 2 {
			double number = (double)N / 2 ;
			System.out.println(Math.round(number));
		} double number = (double)N / 2 ; number (double)N / 2 (double)N 2 System.out.println(Math.round(number)) System.out.println System.out System System.out Math.round(number) Math.round Math number String[] args args public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int N = scanner.nextInt();
		
		if (N % 2 == 0) {
			System.out.println(N / 2);
		} else {
			double number = (double)N / 2 ;
			System.out.println(Math.round(number));
		}
		
	}
} public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int N = scanner.nextInt();
		
		if (N % 2 == 0) {
			System.out.println(N / 2);
		} else {
			double number = (double)N / 2 ;
			System.out.println(Math.round(number));
		}
		
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int N = scanner.nextInt();
		
		if (N % 2 == 0) {
			System.out.println(N / 2);
		} else {
			double number = (double)N / 2 ;
			System.out.println(Math.round(number));
		}
		
	}
}	