include<stdio.h>

main()
{int n,m,k=0,sum=0;
scanf("%d",&n);
for(m=1;m<=n;m++)
{k+=m;
sum+=k;}
printf("%d",sum);}