Result

AC

Code [DL]

WITH RECURSIVE f(x)AS(SELECT""UNION SELECT x+9 FROM f LIMIT 50)SELECT cast(substr((SELECT*FROM i),x)as R)IN(0,1,11,110,1010,1111,10101,11100,100100,101101,110111,1000010,1001110,1011011,1101001,1111e3,10001e3,10011001,10101011,10111110,11010010,11100111,11111101)FROM f;

stdin

01101001
00000011
00000001
10010100
01000001
00100100
10101011
01001110
10010010
01010111
11100111
10001100
11010010
11101010
01100011
11011000
01111011
00011100
01001011
01111000
11101000
11110011
01000010
11000001
10001000
10000101
01101101
01111001
00110111
11010010
10011001
00101111
01110011
00001010
00101101
10001111
10111110
11101101
00000000
01011011
10001000
01010110
11111001
11111100
11111101
00010101
01000000
00000110
00001111
11111110

stdout

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

stderr

strace