Result

AC

Duration

1090ms

Code [DL]

class M{static void Main(string[]a){string s=System.Console.ReadLine();for(int i=0;i<50;i++)System.Console.Write(i<33&&s[i]=='1'&&s[i+5]=='1'&&s[i+12]=='1'&&s[i+17]=='1'?1:0);}}

stdin

10011111001001100111000110011000001101011110000011

stdout

00000000000000000000000100000000000000000000000000

stderr

strace