Result

AC

Duration

1176ms

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]>'0'&&s[i+5]>'0'&&s[i+12]>'0'&&s[i+17]>'0'?1:0);}}

stdin

10101010010010100011101000100001010001010000101000

stdout

00000000000000100000000000000000000000000000000000

stderr