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

Ex Input:
Problem: the compound interest on $ 30,000 at 7 % p . a is $ . 4347 . find out the period ( in years ) ?

Ex Output:
2


Ex Input:
Problem: if ( 2 ^ 16 ) ( 25 ^ s ) = 5 ( 10 ^ m ) what is the value of m ?

Ex Output:
16


Ex Input:
Problem: an investor can sell her microtron stock for 36 $ per share and her dynaco stock for 60 $ per share , if she sells 300 shares altogether , some of each stock , at an average price per share of 40 $ , how many shares of dynaco stock has she sold ?

Ex Output:

50