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

Ex Input:
Problem: a grocer is storing soap boxes in cartons that measure 25 inches by 42 inches by 60 inches . if the measurement of each soap box is 7 inches by 6 inches by 10 inches , then what is the maximum number of soap boxes that can be placed in each carton ?

Ex Output:
150


Ex Input:
Problem: 9 . on level farmland , two runners leave at the same time from the intersection of two country roads . one runner jogs due north at a constant rate of 8 miles per hour while the second runner jogs due east at a constant rate that is 8 miles per hour faster than the first runner ' s rate . how far apart , to the nearest mile , will they be after 1 / 2 hour ?

Ex Output:



Ex Input:
Problem: a can do a piece of work in 15 days . a does the work for 5 days only and leaves the job . b does the remaining work in 18 days . in how many days b alone can do the work ?

Ex Output:

27 days