Case #1: 6 Case #2: 4 Case #3: 3 Case #4: impossible Case #5: 8