class Program { static void Main(string[] args) { int input = int.Parse(Console.ReadLine()!); Console.WriteLine((input / 2) + (input % 2)); } }