a=[[0,'']] exec'n=input();a+=[[n&1,n]];'*20 for b,n in sorted(a):print n

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

download

return top