int c = int.Parse(Console.ReadLine()); if (c % 2 == 0) { Console.WriteLine(c / 2); } else { Console.WriteLine(c / 2 + 1); }