Problem 1090 · Medium
Take items from largest value down, skipping any whose label has reached its use limit.
Open the interactive visualisation