Ghost leg solver by gnibbler

import os
R=os.read(0,99)+"\n"
print R+" ".join("BDCAEDCBABCDE")[R.find("-")%3*8:][:9]

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

download

return top