#include void main(){int n;scanf("%d",&n);int sum=0;for(int i=1,j=n; i<=n; i++,j--){sum+=(i*j);}printf("%d",sum);}