The Differences Between Horses and People

You know how many legs and heads are in a crowd. Now determine how many horses are there.


In a crowd of horses and people, you count 52 legs and 18 heads. How many horses are in the crowd? Explain your reasoning.