n = int(input()) ans = 3 tmp = 3 if n == 3: print(ans) else: for _ in range((n-3)//2): ans += tmp tmp += 2 print(ans)