int a;for(int i;++i<10;)write(format("%9d * 9 +",(a=a*10+i))+format("%3d = ",i+1),a*9+i+1);