I guess I did not understand the conditions properly. I have tried different permutation and combinations, but it fails to fulfill the third condition.