Case #1: 2 3 Case #2: 1 4 Case #3: 4 5