Case 1: 9 Case 2: 8