N = int(input()) x = N//2 ans = -(x*x) + N * x + N print(ans)