Result [link]

AC

Code [DL]

>"#":>;  #%> "d":>;#%>                          >"#":>;   #%>\
          0         >"#".)"0"-&>,#%>          %            |
     ^:-1;<                       >2*|+25*/&&%       ^:-1;{<
                               ^        .-1, <         
                 ^                      ]|:-1;<

stdin

1101011101100100111110110110000101011000100011110100011111111001001011010011101010001010000111110101

stdout

00001066581708852054823305795379701

stderr