import math print(f"{math.ceil(int(input())/2)}")