5 6 4 5 1 7 7 8 8 2 2 2 2 3 7 5 5 1 4 3 4
Case #1: IMPOSSIBLE Case #2: IMPOSSIBLE Case #3: 1 Case #4: 2 Case #5: 3