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

Ex Input:
Problem: what is the diagonal of a square field whose perimeter is 64 m ?

Ex Output:
16 √ 2 m


Ex Input:
Problem: tim came second in math . when his mother asked him how much he had scored , he answered that he got the sum of the first 12 even numbers . his mother immediately worked out the answer . how much had he scored in math ?

Ex Output:
156


Ex Input:
Problem: if 45 % of a class averages 95 % on a test , 50 % of the class averages 78 % on the test , and the remainder of the class averages 60 % on the test , what is the overall class average ? ( round final answer to the nearest percent ) .

Ex Output:

85 %