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

Example Input: Problem: find the greatest number that will divide 205 , 626 and 588 leaving 5 , 6 and 8 as remainders respectively
Example Output: 2

Example Input: Problem: at what rate percent on simple interest will rs . 750 amount to rs . 900 in 8 years ?
Example Output: 2.5 %

Example Input: Problem: in a certain production lot , 40 percent of the toys are red and the remaining toys are green . half of toys are small and half are large . if 10 percent of the toys are red and small , and 40 toys are green and large . how many of the toys are red and large ?
Example Output:
60