#include<stdio.h> main () { int i,j,sum = 0; for (i=3;i>=1;i--) { for (j=1;j<i;j++) sum+=i*j; } printf("%d\n",sum); }