puts"#{s="#{n=gets.strip}+#{n.size}+(#{n.scan(/-?./).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!