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

Ex Input:
Problem: income and expenditure of a person are in the ratio 7 : 6 . if the income of the person is rs . 14000 , then find his savings ?

Ex Output:
2000


Ex Input:
Problem: 10 women can complete a work in 5 days and 10 children take 10 days to complete the work . how many days will 5 women and 10 children take to complete the work ?

Ex Output:
5


Ex Input:
Problem: a quadratic function f ( x ) attains a maximum of 3 at x = 1 . the value of the function at x = 0 is 1 . what is the value of f ( x ) at x = 10 ?

Ex Output:

- 159