A pet shop survey asks customers which pet they own. A few answers, like axolotl, turn up only once or twice. Before the answers go into a model, the shop wants to lump the rare ones together, so first it needs to know which ones are rare.
Task: write rare_categories(answers, min_share).
answers is a list of strings. A missing answer is None.min_share (a number between 0 and 1). A share exactly equal to min_share is not rare.