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