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