Result [link]

AC

Code [DL]

V→ij

stdin

1110101101111110110100010000111000110101010001001101101101001000011100111110001001100111111001100011

stdout

1166116627167604881612396199523

stderr