z=*$< 11.times{|t|a=[0,0] 8.times{|n|a[n%2]+=t**(m=n/2)*(10-t)**(3-m)*(n%6<2?1:3)*z[n].to_i/1000} puts a*" "}

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

download

return top