import java.util.Scanner;

public class DuplexPrinting {
 
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int input = in.nextInt();
        
	    System.out.println(input / 2 + input % 2);
 
    }
 
}