Four Number Game by leonid

#!ruby -n
1while$_%print!=gsub(/\d+/){($&.to_i-($'+$_).to_i).abs}
puts

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

download

return top