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