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

[EX Q]: Problem: two numbers are in the ratio of 7 : 6 . if 18 be subtracted from each , they are in the ratio of 6 : 5 . find the numbers ?
[EX A]: 7,6

[EX Q]: Problem: how many seconds will a train 120 meters long take to cross a bridge 150 meters long if the speed of the train is 36 kmph ?
[EX A]: 27 sec

[EX Q]: Problem: on dividing a number by 48 , we get 29 as remainder . on dividing the same number by 8 , what will be the remainder ?
[EX A]:
5