Case #1: 3 4 Case #2: 0 4 Case #3: 1 2 Case #4: 3 8 Case #5: 3 12 Case #6: 15 16