while 1: t=c=l=0 for d in raw_input(): \x09c=int(`c`+d) \x09if c>=l:print c,;l=c;c=0;t+=l print"=%s"%t
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page