import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double num = sc.nextDouble();
		double ans;
		ans=Math.ceil(num/2);
		int a;
		a=(int)ans;
		System.out.println(a);
		return;
		}
	} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double num = sc.nextDouble();
		double ans;
		ans=Math.ceil(num/2);
		int a;
		a=(int)ans;
		System.out.println(a);
		return;
		}
	} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double num = sc.nextDouble();
		double ans;
		ans=Math.ceil(num/2);
		int a;
		a=(int)ans;
		System.out.println(a);
		return;
		} main {
		Scanner sc = new Scanner(System.in);
		double num = sc.nextDouble();
		double ans;
		ans=Math.ceil(num/2);
		int a;
		a=(int)ans;
		System.out.println(a);
		return;
		} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double num = sc.nextDouble(); num sc.nextDouble() sc.nextDouble sc double ans; ans ans=Math.ceil(num/2) ans Math.ceil(num/2) Math.ceil Math num/2 num 2 int a; a a=(int)ans a (int)ans System.out.println(a) System.out.println System.out System System.out a return; String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double num = sc.nextDouble();
		double ans;
		ans=Math.ceil(num/2);
		int a;
		a=(int)ans;
		System.out.println(a);
		return;
		}
	} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double num = sc.nextDouble();
		double ans;
		ans=Math.ceil(num/2);
		int a;
		a=(int)ans;
		System.out.println(a);
		return;
		}
	} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double num = sc.nextDouble();
		double ans;
		ans=Math.ceil(num/2);
		int a;
		a=(int)ans;
		System.out.println(a);
		return;
		}
	}
