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: what is the diagonal of a square field whose perimeter is 64 m ?

Ex Output:
16 √ 2 m


Ex Input:
Problem: martin bought 10 concert tickets , some at the full price of $ 2.00 per ticket , and some at a discounted price of $ 1.60 per ticket . if he spent a total of $ 18.80 , how many discounted tickets did he buy ?

Ex Output:

3