Python · Dictionaries, tuples and sets
Which elements turned up in any sample, and which students are in both labs, are questions about values that each count once.