n=int(input()) sum=0 total_sum=0 for i in range(1,n+1): sum=sum+i total_sum=total_sum+sum print(total_sum)