8 4 1 1 2 1 2 1 2 3 3 1 4 3 3 4 4 1 4 5 1 2 2 3 3 4 3 5 0 0
Case 1: 1 0 0 0 1 1 1 1 1 0 1 1 1 0 1 1 Case 2: 1 1 1 1 1 0 1 1 1 1 0 0 1 1 1 0 0 0 1 0 0 0 0 0 1