Case 1: 1 5 Case 2: 2 5 7