puts "#{s="#{n=gets.strip}+#{n.size}+(#{n.scan(/\D*\d/).join '+'})"}=#{eval s}"
-123
-123+4+(-1+2+3)=-115
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!