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

Ex Input:
Problem: at a certain fruit stand , the price of each apple is 40 cents and the price of each orange is 60 cents . mary selects a total of 30 apples and oranges from the fruit stand , and the average ( arithmetic mean ) price of the 30 pieces of fruit is 56 cents . how many oranges must mary put back so that the average price of the pieces of fruit that she keeps is 52 cents ?

Ex Output:
1


Ex Input:
Problem: during a car trip , maria stopped to rest after she traveled 1 / 2 of the total distance to her destination . she stopped again after she traveled 1 / 4 of the distance remaining between her first stop and her destination , and then she drove the remaining 105 miles to her detination . what was the total distance , in miles from maria ' s starting point to her destination ?

Ex Output:
280


Ex Input:
Problem: a box contains 6 black , 8 red and 4 green marbles . 2 marbles are drawn from the box at random . what is the probability that both the marbles are of the same color ?

Ex Output:

49 / 153