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

Input: Consider Input: Problem: a company wants to spend equal amounts of money for the purchase of two types of computer printers costing $ 500 and $ 300 per unit , respectively . what is the fewest number of computer printers that the company can purchase ?

Output: 6

Input: Consider Input: Problem: joan took out a mortgage from hel local bank . each monthly mortgage payment she makes must be triple the amount of the previous month ' s payment . if her first payment is $ 100 , and the total amount she must pay back is $ 914800 , how many months will it take joan to pay back her mortgage ?

Output: 9

Input: Consider Input: Problem: a train speeds past a pole in 25 seconds and a platform 150 m long in 30 seconds . its length is ?
Output: 30