partition by parity by uru

a,b=$<.map(&:to_i).sort.partition &:odd?
puts b,$/,a

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

download

return top