import math print(math.ceil(int(input() / 2)))