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

Input: Consider Input: Problem: if a - b = 5 and a 2 + b 2 = 31 , find the value of ab .

Output: 3

Input: Consider Input: Problem: two trains each 120 m in length each , are running on two parallel lines in opposite directions . if one goes at the speed of 85 km / h while the other travels at 65 km / h . how long will it take for them to pass each other completely .

Output: 10.07 sec

Input: Consider Input: Problem: the sum of two consecutive integers is 51 . find the numbers .
Output: 25,2