The football team had a fundraiser. They received $1588. 50 from the sale of 110 shirts and hats. Shirts sold for 14. 95 each. Hats sold for 12. 95 each. How many hats did they sell