by@akouryy1
AC
1176ms
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);}}
10101010010010100011101000100001010001010000101000
00000000000000100000000000000000000000000000000000