main(i,w,x){while(~scanf("%d",&i))w=i%6>1,printf("%d = 6 * %d %c 1\n",i,i/6+w,43+w*2);}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page