j;main(i,a,b){for(;~scanf("%s%s",a,b);puts(b))for(i=j=1;60+--i;)printf(i/j?j=3*j+3>>1," ":409173591643024020ll>>-i&1?b:a);}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page