Result

WA

Code [DL]

$ 'main'
 \                      /---o-#
  \-0(!x!)--i-{i}--e{~}<
          /             \
          |             |
          \-------------/

$ 'i'
 \                           /-(!q!)(b)a-#
  \-1(!b!)0(!c!)--{d}(c)q{~}<
                /            \
 /-m(!b!)------/              \
 |                            |
 \---[0001]o1--(b)(!c!)a1(c)--/
   
  
$ 'd' (dup)
 \-(!d!)(d)(d)-#

$ '~'
|
|   /-t-\ #
|  /     \|
\-<       |
   \     /|
    \-f-/ @

stdin

6787825012766562228160470342011120630600024089370203447193035326940331069900128115997120622032892546

stdout

stderr

Crash: No valid move

strace