Case #1: 2 1
Case #2: IMPOSSIBLE
Case #3: 1 1
