Case 1: 10 Case 2: 1 Case 3: 13 Case 4: bad Case 5: 999