N = int(input()) ans = 0 for i in range(N): upper = i lower = N - upper ma = lower + (lower + 1) * upper if ma > ans: ans = ma print(ans)