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

Input: Consider Input: Problem: if an investor puts $ 800 in a savings account that earns 10 percent annual interest compounded semiannually , how much money will be in the account after one year ?

Output: $ 882


Input: Consider Input: Problem: tourist purchased a total of 30 travelers checks in $ 50 and $ 100 denominations . the total worth of the travelers checks is $ 1800 . how many checks of $ 50 denominations can he spend so that average amount ( arithmetic mean ) of the remaining travelers checks is $ 100 ?

Output: 2


Input: Consider Input: Problem: if shares of two persons in profits are rs . 600 and rs . 1000 then ratio of their capitals is


Output: 3 : 5