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

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


Ex Input:
Problem: two cycles are standing side - by - side . one cycle , which is 2.5 feets tall , casts a shadow that is 5 feets long . the other cycle is 2 feets tall . compute , in feets , the length of the shadow that the shorter cycle casts .

Ex Output:
4


Ex Input:
Problem: jamshid can paint a fence in 50 percent less time than taimour can when each works alone . when they work together , they can paint the fence in 6 hours . how long would it take taimour to paint the fence alone ?

Ex Output:

18 hours