int i=1,j=1;long count=0,count1=0;for(j,j<11,j++){for(i,i<j,i++){count1=count1+i*(i-1);}count=count+count1;}