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

Example Input: Problem: two trains running in opposite directions cross a man standing on the platform in 37 seconds and 27 seconds respectively and they cross each other in 29 seconds . the ratio of their speeds is :
Example Output: 1 :

Example Input: Problem: on a certain road , 10 % of the motorists exceed the posted speed limit and receive speeding tickets , but 20 % of the motorists who exceed the posted speed limit do not receive speeding tickets . what percent of the motorists on that road exceed the posted speed limit ?
Example Output: 12.5 %

Example Input: Problem: if x = 1 + 2 , then what is the value of x 4 - 4 x 3 + 4 x 2 + 3 ?
Example Output:
4