n = int(input()) rooms = 0 if (n % 2) == 0: rooms = n / 2 else: rooms = (n / 2) + 1 print(rooms)