comma format by samuil

loop{puts (gets("\n").reverse.scan(/.{1,3}/)*',').reverse}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top