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