while(l=readline()){for(p=l[0],s=i=0;++i<l.length;a=l[i],p+=(a!=' '?s+=1:0)^16?a:a.toUpperCase());print(p)}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page