Result

WA

Code [DL]

WITH RECURSIVE lines(x, line, remain) AS (
  SELECT 1, CASE WHEN substr(v,1,8)='00000000' or substr(v,1,8)='00000001' THEN 1 ELSE 0 END AS line, substr(v, 10) AS remain FROM i
  UNION ALL
    SELECT x + 1, CASE WHEN substr(remain,1,8)='00000000' or substr(remain,1,8)='00000001' THEN 1 ELSE 0 END AS line, substr(remain, 10) AS remain
    FROM lines
    WHERE remain != ''
)
SELECT line FROM lines

stdin

01100011
01110100
11111010
01011110
00001100
10110001
01111000
01001101
11111000
10010010
10011011
01111001
00011100
01101001
01000010
11011000
11101101
11100111
11000101
10011001
01011011
10001000
00000110
00010101
01001110
00011101
00010010
11111101
00101101
00001111
00000011
00100100
10111110
00001010
11100011
11101111
00110111
10100100
00000001
10000001
01001111
10101001
00101111
11010010
10101011
00011100
00111110
01000111
10001000
00000000

stdout

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

stderr

strace