Each row and column in the grid contains two colors of hearts from the following four: yellow, green, red, and purple. The numbers along the sides of the grid tell you how many of the grid spaces in the row or column contain hearts. Ignoring the empty grid spaces, the colors must alternate within any given column or row. Can you complete the grid?