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