import sys input = lambda: sys.stdin.readline().rstrip() # ----------------------- # n = int(input()) print(n//2)