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

Ex Input:
Problem: the s . i . on a certain sum of money for 2 years at 8 % per annum is half the c . i . on rs . 4000 for 2 years at 10 % per annum . the sum placed on s . i . is ?

Ex Output:
262


Ex Input:
Problem: a diagonal of a polygon is an segment between two non - adjacent vertices of the polygon . how many diagonals does a regular 20 - sided polygon have ?

Ex Output:
170', 'c ) 1425', 'd ) 2025', 'e ) 2500'


Ex Input:
Problem: together , 15 type a machines and 7 type b machines can complete a certain job in 4 hours . together 8 type b machines and 15 type c machines can complete the same job in 11 hours . how many q hours would it take one type a machine , one type b machine , and one type c machine working together to complete the job ( assuming constant rates for each machine ) ?

Ex Output:

44 hours