Result

WA

Code [DL]

$ 'j'        #(c){j}(x)#@
 --(!x!)(!c!)(c)(x)g--<
$ 'main'@      #(x)(c)##@
 |@      \-uo--
 | \{j}i- \    >#
 9  \    >u-1q/
 \-1a--e/

stdin

3955206521180464305641632834655601883026225611893556577975917758322366296857294575496214099103717983

stdout

stderr

Crash: No valid move

strace