Hats at a party, part 3 of 3 · QuantMax