using System;
 
public class A_157 {
    private static void Main(string[] args) {
        var input_num = Parse(Console.ReadLine().Trim());
      
        var ans = (input_num / 2) + (input_num % 2);
        Console.WriteLine(ans);
    }
}
