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

Ex Input:
Problem: 6 ) a marketing firm determined that , of 260 households surveyed , 80 used neither brand a nor brand b soap . 60 used only brand a soap and for every household that used both brands of soap , 3 used only brand b soap . how many of the 200 household surveyed used both brands of soap ?

Ex Output:
c ) 30


Ex Input:
Problem: a jogger running at 9 km / hr along side a railway track is 250 m ahead of the engine of a 120 m long train running at 45 km / hr in the same direction . in how much time will the train pass the jogger ?

Ex Output:
37 sec


Ex Input:
Problem: a , b and c invested rs . 6000 , rs . 7200 and rs . 10800 respectively , in a partnership business . find the share of c in profit of rs . 19000 after a year ?

Ex Output:

8550