MatchThePattern

Write Python code to match this pattern:

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

In-Browser Python Executor (Using WebAssembly)

Your Output Pattern:

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0