#35099: 我女友叫我寫的


10955052@st.chjhs.tp.edu.tw (07段律言)


try :
    while True:
        n = int(input())
        space = ((n+1)*((n*n)-n+6))/6
        print('%d' % (space))
except EOFError:
    pass