partition by parity by hallvabo

a=(0,''),
exec"n=input();a+=(n&1,n),;"*20
for _,v in sorted(a):print v

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

download

return to the top page