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

Example Input: Problem: a company pays 12.5 % dividend to its investors . if an investor buys rs . 60 shares and gets 25 % on investment , at what price did the investor buy the shares ?
Example Output: 30

Example Input: Problem: 60 percent of movie theatres in town x have 3 screens or less . 20 % of those theatres sell an average of more than $ 300 worth of popcorn per showing . 56 percent of all the movie theatres in town x sell $ 300 or less of popcorn per showing . what percent of all the stores on the street have 4 or more screens and sell an average of more than $ 300 worth of popcorn per day ?
Example Output: 32

Example Input: Problem: boy sells a book for rs . 540 he gets a loss of 10 % , to gain 10 % , what should be the sp ?
Example Output:
66