char*p,*q;main(c,b){for(gets(b);p&&(printf(*q++?"(%c%c%c)":"\n",*p,c,*q)<2?q=b,*++p:1)||(c=getchar(p=q=b))>10;);}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page