Case #1: 9 Case #2: 0 Case #3: 5 Case #4: 176