Result

AC

Duration

1609ms

Code [DL]

import std.stdio;void main(){int i=0;for(string s=readln;i<50;i++)write(i<33?s[i]&s[i+5]&s[i+12]&s[i+17]&1:0);}

stdin

11101111111001001000110100110111011110010100100011

stdout

00001000000000000000000000000000000000000000000000

stderr

strace