i=1 for k in raw_input(): i+=1 if"="==k:i-=8;print i/6

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top