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

Ex Input:
Problem: if p / q = 3 / 11 , then 2 p + q = ?

Ex Output:
17


Ex Input:
Problem: joan took out a mortgage from hel local bank . each monthly mortgage payment she makes must be triple the amount of the previous month ' s payment . if her first payment is $ 100 , and the total amount she must pay back is $ 914800 , how many months will it take joan to pay back her mortgage ?

Ex Output:
9


Ex Input:
Problem: a train 250 m long running at 72 kmph crosses a platform in 25 sec . what is the length of the platform ?

Ex Output:

250 m