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