import sys input=sys.stdin.readline N = int(input()) print(N//2)