Case #1: 9 Case #2: 0 Case #3: 9 Case #4: 10