N = int(input()) ans = 0 for i in range(N): #1の珠の数 = i ans = max(ans, i + (i+1) * (N-i)) print(ans)