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