i=0for c in input():exec"i=i"+c+`hash(c)%55%3`print i
'++**--/'
3
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!