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

Example Input: Problem: p , q and r together earn rs . 1710 in 9 days . p and r can earn rs . 600 in 5 days . q and r in 7 days can earn rs . 910 . how much amount does r can earn per day ?
Example Output: s . 60

Example Input: Problem: how much interest will $ 10,000 earn in 9 months at an annual rate of 4 % ?
Example Output: $ 300

Example Input: Problem: the largest one digit number which is a perfect cube , is :
Example Output:
8