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

1010525590058988688742814361918131995161731321853386009207963849719666442985060228304627977879663285

stdout

stderr

Crash: No valid move

strace