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

Example Input: Problem: calculate the share of z , if rs . 3720 is divided among x , y and z in the ratio 7 : 8 : 11 ?
Example Output: 1574.1

Example Input: Problem: a certain bus driver is paid a regular rate of $ 16 per hour for any number of hours that does not exceed 40 hours per week . for any overtime hours worked in excess of 40 hours per week , the bus driver is paid a rate that is 75 % higher than his regular rate . if last week the bus driver earned $ 1032 in total compensation , how many total hours did he work that week ?
Example Output: 5

Example Input: Problem: if a trader sold two cars each at rs . 325475 and gains 15 % on the first and loses 15 % on the second , then his profit or loss percent on the whole is ?
Example Output:
2.25