s=gets.strip;e="#{s}+#{s.size}+(#{s.split(/(?<!-)/).join '+'})";puts"#{e}=#{eval e}"
-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!