Entangled in the chain, how to organize them? Chains of the same color can be eliminated if they are not wrapped in other colors.