for(a=0;r=readline();)for(i=2;i--;n&&print(a+=n))n=r.split("_-"[i]).length-1
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page