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

Example 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 ?
Example Output: 6

Example Input: Problem: two cubes have their volumes are in the ratio 1 : 27 . find the ratio of their surface area ?
Example Output: 1 : 9', 'd ) 2 : 7', 'e ) 3 : 11'

Example Input: Problem: the number of diagonals of a polygon of n sides is given by the formula q = n ( n - 3 ) / 2 . if a polygon has twice as many diagonals as sides , how many sides does it have ?
Example Output:
5