Limit to three selected flowers

Here's a solution to limiting the number of selected flowers.