Case 1: 3 Case 2: 22 Case 3: 2