from math import ceil n=int(input()) print(ceil(n/2))