bucket_tickets(tickets) where tickets is a list of dicts like {"id": 1, "priority": "High"}. Return a dict mapping each priority string to a list of ticket ids with that priority, preserving the order tickets appear in the input.bucket_tickets([{'id': 1, 'priority': 'High'}, {'id': 2, 'priority': 'Low'}, {'id': 3, 'priority': 'High'}]){'High': [1, 3], 'Low': [2]}Group ticket ids under their priority.
`buckets.setdefault(t["priority"], []).append(t["id"])` for each ticket.