String Halving by clock

function h(x){var l=-~x.length/2;return"{"+(l>1?h(x.slice(0,l))+h(x.slice(l)):x)+"}"}print(h(readline()))

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

download

return to the top page