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