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