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