FRACTRAN fixed by leonid

eval"f=#{gets.split*","}
p n="+gets+"i=0
i+=2while 0<n%y=f[i+1]
p n=n*f[i]/y
"*?\xc8

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

download

return top