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

Input: Consider 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 ?

Output: 80

Input: Consider Input: Problem: the perimeter of a triangle is 36 cm and the inradius of the triangle is 2.5 cm . what is the area of the triangle

Output: b ) 45

Input: Consider Input: Problem: i bought two books ; for rs . 470 . i sold one at a loss of 15 % and other at a gain of 19 % and then i found each book was sold at the same price . find the cost of the book sold at a loss ?
Output: 274.17