A=int(input()) if A%2==0: print(N//2) else: print(1)