partition by parity by kotauchi

t=[[],[]]\x0d
for i in open('/dev/fd/0'):t[int(i)%2]+=[int(i)]\x0d
for i in sorted(t[0]):print i\x0d
print\x0d
for i in sorted(t[1]):print i

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

download

return top