sum for a= 1 to 10 (sum for b=a+2 to 10 (sum for c= b+2 to 10 (1)))