Certain amount was deposited in two different accounts one giving simple interest and the other giving compound interest. The rate of interest was different for both the accounts. The amount under simple interest triples in 4 years whereas amount under compound interest doubles in 4 years.

**Quantity A**

Number of years in which the amount under simple interest will become 6 times of itself

**Quantity B**

Number of years in which the amount under compound interest will become 4 times of itself