On Monday, a certain animal shelter housed 50 cats and dogs. By Friday, 1/5 of the cats and 1/4 of the dogs had been adopted; no new cats or dogs were brought to the shelter during this period. What is the greatest possible number of pets that could have been adopted from the animal shelter between Monday and Friday?	Choose the correct answer.
A) 12 B) 14 C) 16 D) 18 E) 20
To maximize the number of pets adopted, we should maximize the number of dogs adopted since 1/4 &gt; 1/5.   The greatest multiple of 4 less than 50 is 40 (such that the remaining number is divisible by 5), so let's assume there were 40 dogs and 10 cats.   Then the maximum number of adopted pets is 1/4*(40) + 1/5*(10) = 10 + 2= 
<gadget id="calculator">10 + 2</gadget>
<output>12</output>
12.   The answer is 12.
<result>A</result>
On Monday, a certain animal shelter housed 50 cats and dogs. By Friday, 1/5 of the cats and 1/4 of the dogs had been adopted; no new cats or dogs were brought to the shelter during this period. What is the greatest possible number of pets that could have been adopted from the animal shelter between Monday and Friday?