Produce 1 random pairing of the inputs for each input; where the pairings contain at least one sub element in common?
It's good, but it's not right</roy walker>
I don't think there's anything random about it at all. I've added some more lines into the DATA, and still think my guess is right.
edit: after a bit of googling for Roy Walker, I changed from "it's close, but it's not right." I really think I should have more important things to worry about.