# 换个角度考虑题目给出的数列是n个1,n-1个2,n-2个3一直到1个n的累加
n = int(input())
con = 0
for i in range(1, n + 1):
    con += (1 + n - i) * i
print(con)