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);
		}