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