The task is to generate the correct answer for a given math problem.

Problem: virginia , adrienne , and dennis have taught history for a combined total of 96 years . if virginia has taught for 9 more years than adrienne and for 12 fewer years than dennis , for how many years has dennis taught ?
4

Problem: the average ( arithmetic mean ) of 8 numbers is 43.1 . if the sum of half of these numbers is 158.4 , what is the average of the other half ?
46.6

Problem: at the wholesale store you can buy an 8 - pack of hot dogs for $ 1.55 , a 20 - pack for $ 3.05 , and a 250 - pack for $ 20.95 . what is the greatest number of hot dogs you can buy at this store with $ 300 ?

3,540