Distribute by hallvabo

while 1:
 _=[],[]
 for e in input():min(_,key=sum)[:]+=e,
 print`_`.replace(' ','')

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

download

return top