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: 5 years ago , paula was 3 times as old as karl . in 6 years , paula will be twice as old as karl . what is the sum of their ages now ?

Ex Output:
54

Ex Input:
Problem: if a speaks the truth 40 % of the times , b speaks the truth 80 % of the times . what is the probability that at least one will tell the truth

Ex Output:
0.12