Result

WA

Code [DL]

$ 'j'                /-(x){j}(c)#
 \-(!x!)(!c!)(c)(x)g<
                     \-(c)(x)#
$ 'main'/{j}i-\
 \      |     |  \---o--@
 |      \   /-/ \     /
 \-91a----e<   /--u1q<
            \-/       #

stdin

7033325410618920738133154510075862431746489842326410029598224182538065008447562158942112728155987507

stdout

0

stderr

Crash: No valid move

strace