f(n,c){n&&printf("%d%c",n%1000,c,f(n/1000,44));}main(n){for(;gets(&n);)f(atoi(),10);}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page