s=-1\x0d for x in raw_input().split(" "):\x0d if x=="=":\x0d print s\x0d s-=2\x0d s+=1
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page