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

Ex Input:
Problem: a gambler has won 40 % of his 40 poker games for the week so far . if , all of a sudden , his luck changes and he begins winning 70 % of the time , how many more games must he play to end up winning 60 % of all his games for the week ?

Ex Output:
80

Ex Input:
Problem: how many digits are required to number a book containing 240 pages ?

Ex Output:
612

Ex Input:
Problem: a rectangular field has a length 10 meters more than it is width . if the area of the field is 119 , what is the length ( in meters ) of the rectangular field ?

Ex Output:
17