#include<stdio.h>
int main()
{
int n =0,tmp=0,sum=0;
scanf("%d",&n);
for(int i =1;i<=n;i++)
{
tmp+=i;
sum+=tmp;
}
printf("%d\n",sum);
return 0;
}
#include<stdio.h>
int main()
{
int n =0,tmp=0,sum=0;
scanf("%d",&n);
for(int i =1;i<=n;i++)
{
tmp+=i;
sum+=tmp;
}
printf("%d\n",sum);
return 0;
}