import math str = input() int = int(str) answer = math.ceil(int / 2) print(answer)