While watching a parade I saw some clowns and horses. I counted 30 legs and 10 heads. How many horses did I see in the parade?