Task: Question Answering
Input (English): Problem: if x is invested in a bank at a rate of simple interest of y % p . a . for two years , then the interest earned is 800 . if x is invested at y % p . a . , for two years when the interest is compounded annually , the interest is 820 . what is the value of x ?
Output (English): 8000