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

Ex Input:
Problem: there are 2 red chips and 3 blue ones . when arranged in a row , they form a certain color pattern , for example rbrrb . how many color patterns ?

Ex Output:
e ) 10

Ex Input:
Problem: how many quarters are equal to 7 dollars ?

Ex Output:
28

Ex Input:
Problem: of the 20,210 employees of the anvil factory , 2 / 7 are journeymen . if half of the journeymen were laid off , what percentage of the total remaining employees would be journeymen ?

Ex Output:
49.67