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

Example Input: Problem: a person want to give his money of $ 1800 to his 3 children a , b , c in the ratio 2 : 3 : 4 . what is the b ' s share ?
Example Output: $ 600

Example Input: Problem: a car gets 24 miles to the gallon . if it is modified to use a solar panel , it will use only 75 percent as much fuel as it does now . if the fuel tank holds 12 gallons , how many more miles will the car be able to travel , per full tank of fuel , after it has been modified ?
Example Output: 96

Example Input: Problem: find the ones digit of 73 ^ 340
Example Output:
3