A visitor to a zoo asked the zookeeper how many birds and how many beasts were in a certain section of the zoo. The zookeeper replied: “There are 45 heads and 150 feet, and with that information you should be able to tell me how many of each there are.”

How many birds are there?

How many beasts are there