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

Example Input: Problem: maxwell leaves his home and walks toward brad ' s house at the same time that brad leaves his home and runs toward maxwell ' s house . if the distance between their homes is 72 kilometers , maxwell ' s walking speed is 6 km / h , and brad ' s running speed is 12 km / h . what is the distance traveled by maxwell when they meet in the middle ?
Example Output: 24

Example Input: Problem: in a circuit board factory , all circuit boards that pass a verification process are certified . every board that fails the verification process is indeed faulty , but 1 / 8 of those that pass are also faulty . approximately how many faulty circuit boards exist in a group of 3,200 circuit boards where 64 fail inspection ?
Example Output: 456

Example Input: Problem: the first doughnut is priced at $ 1 and then if you purchase additional doughnuts as dozens then the price is $ 6 / dozen . what is the total number of doughnuts purchased if you paid $ 25 ?
Example Output:
49