Case 1: 2 4 3 Case 2: 0 Case 3: impossible