by@satos___jp
WA
$ 'j' #(c){j}(x)#@ --(!x!)(!c!)(c)(x)g--< $ 'main'@ #(x)(c)##@ |@ \-uo-- | \{j}i- \ ># 9 \ >u-1q/ \-1a--e/
3955206521180464305641632834655601883026225611893556577975917758322366296857294575496214099103717983
Crash: No valid move