Case 1: 3 (3,4) 4 (2,2) 5 (3,1)