# PUZZLEVILLA

or
Remember me

### Register

OR
Find the Number of Animals in the Farm
Difficulty Level

A farmer keeps three types of animals on his farm: cows, pigs and horses. Can you guess how many of each animal he has based on the following information?

1) Three of the animals are NOT cows
2) Four of the animals are NOT pigs
3) Five of the animals are NOT horses

Answer: 3 cows, 2 pigs and 1 horse.

EXPLANATION: You can use algebra to solve the problem:
1) Pigs + Horses = 3
2) Cows + Horses = 4
3) Cows + Pigs = 5

Use the first two equations and isolate for Horses:
Horses = 3 - Pigs
Horses = 4 - Cows
therefore 3 - Pigs = 4 - Cows

Replace Cows in the above equation with 5 - Pigs (from equation 3):
3 - Pigs = 4 - (5 - Pigs)
3 - Pigs = 4 - 5 + Pigs
3 - Pigs = -1 + Pigs
4 = 2 x Pigs
Pigs = 2

Replacing Pigs with 2 in equations 1 and 3 will give you the number of Horses and Cows.
The text passage contains a word problem about determining the number of different types of animals on a farm, and it provides a detailed solution to the problem.
single_question_with_answer
Given a text passage, determine:
    1. If it contains a mathematical question (including word problems or calculations)
    2. If an answer to that mathematical question is provided in the text

First, describe the content structure you found in 1-2 sentences.

Then provide your analysis in the following format:
TYPE: <one of the following values>
- NO_QUESTION
- SINGLE_QUESTION
- SINGLE_QUESTION_WITH_ANSWER
- MULTIPLE_QUESTIONS
- MULTIPLE_QUESTIONS_WITH_ANSWERS
system
# PUZZLEVILLA

or
Remember me

### Register

OR
Find the Number of Animals in the Farm
Difficulty Level

A farmer keeps three types of animals on his farm: cows, pigs and horses. Can you guess how many of each animal he has based on the following information?

1) Three of the animals are NOT cows
2) Four of the animals are NOT pigs
3) Five of the animals are NOT horses

Answer: 3 cows, 2 pigs and 1 horse.

EXPLANATION: You can use algebra to solve the problem:
1) Pigs + Horses = 3
2) Cows + Horses = 4
3) Cows + Pigs = 5

Use the first two equations and isolate for Horses:
Horses = 3 - Pigs
Horses = 4 - Cows
therefore 3 - Pigs = 4 - Cows

Replace Cows in the above equation with 5 - Pigs (from equation 3):
3 - Pigs = 4 - (5 - Pigs)
3 - Pigs = 4 - 5 + Pigs
3 - Pigs = -1 + Pigs
4 = 2 x Pigs
Pigs = 2

Replacing Pigs with 2 in equations 1 and 3 will give you the number of Horses and Cows.
user
The text passage contains a word problem about determining the number of different types of animals on a farm, and it provides a detailed solution to the problem.

TYPE: SINGLE_QUESTION_WITH_ANSWER