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