This is not correct. If the red group is (1,2,3) and the blue group is (4,5,6,7,8,9,10), then the desired condition is not possible.