n = int(input())+2 print(n//2*(n-n//2)-1)