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

Ex Input:
Problem: the total marks obtained by a student in mathematics and physics is 32 and his score in chemistry is 20 marks more than that in physics . find the average marks scored in mathamatics and chemistry together .

Ex Output:
26

Ex Input:
Problem: each of the products produced yesterday was checked by worker x or worker y . 0.5 % of the products checked by worker x are defective and 0.8 % of the products checked by worker y are defective . if the total defective rate of all the products checked by worker x and worker y is 0.74 % , what fraction of the products was checked by worker y ?

Ex Output:
4 /

Ex Input:
Problem: points a , b , c , and d , in that order , lie on a line . if ab = 3 cm , ac = 4 cm , and bd = 8 cm , what is cd , in centimeters ?

Ex Output:
7