Case 1: 5 Case 2: 9