print("{"+(function f(s,n)s[1]?"{"+f(s.slice(0,n=-~s.length/2))+"}{"+f(s.slice(n))+"}":s)(readline())+"}")
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page