import math print(math.ceil(int(input().strip()) / 2.0))