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

Example Input: Problem: the h . c . f of two numbers is 23 and the other two factors of their l . c . m are 14 and 15 . the larger of the two numbers is :
Example Output: 345

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: there 3 kinds of books in the library physics , chemistry and biology . ratio of physics to chemistry is 3 to 2 ; ratio of chemistry to biology is 4 to 3 , and the total of the books is more than 3000 . which one of following can be the total w of the book ?
Example Output:
3003