print(round(int(input())/2))