Sharkovskii order by primo (hallvabo)

for i in sorted(map(int,open('/dev/fd/0')),key=lambda i:[[99-i,i&-i][i>i&-i],i]):print i

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

download

return top