Lynn bought some party favors. The price of each party favor was $3. Her total came to $12. How many party favors did Lynn buy?