String Halving by leonid

def f(s):l=0-len(s)/2;return"{%s}"%(-~l*s or f(s[:l])+f(s[l:]))
print f(raw_input())

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

download

return top