Result

AC

Duration

711ms

Code [DL]

P6
12 1
2
A&  >V :  &. :! 1` +P !0 #0 @0 _: A<

stdin

62432156138327254521530510216426408371673847393960659876543210802926893103150936920285460123456789479

stdout

0 1 0 0 0 1 1 0 1 1 0 0 1 0 1 0 1 0 0 1 0 0 1 0 0 1 0 1 0 0 1 0 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 1 0 1 1 0 1 1 1 0 0 0 1 0 1 0 1 0 1 1 0 0 1 1 0 0 1 0 1 1 1 1 1 1 1 1 1 0 1 1 

stderr