n = input() p = int(n) m = p / 2 print(round(m))