def solve(): N = int(input()) print(N // 2) if __name__ == '__main__': solve()