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