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

Ex Input:
Problem: in an election between two candidates , one got 60 % of the total valid votes , 30 % of the votes were invalid . if the total number of votes was 9000 , the number of valid votes that the other candidate got , was :

Ex Output:
2520


Ex Input:
Problem: john invests $ x at the semi - annual constant compounded rate of 2 percent and also does $ 20,000 at the quarterly constant compounded rate of 4 percent . if the interests are the same after 1 year , what is the value of x ? ?

Ex Output:
40,402


Ex Input:
Problem: i chose a number and divide it by 8 . then i subtracted 160 from the result and got 12 . what was the number i chose ?

Ex Output:

1376