import bisect, collections

def solution():
    n = input().strip()
    print(int(n)//2)
    

    

def main():    
    # T = int(input().strip())
    for _ in range(1):
        solution()
    

main()