import math data = int(input()) print(math.ceil(data / 2))