import java.util.*;
import java.io.*;


public class Main1{
	public static void main(String[] args)
			
	{
		
		int i=0;
		Scanner s= new Scanner(System.in);
		int a=s.nextInt();
		if(a%2==0)
			System.out.println(a/2);
		else
			i=1+a/2;
			System.out.println(i);


	}
}