Find groups of three cards where each attribute — color, shape, quantity, and fill — is either all the same or all different across the three cards.