At the beginning of the year 2005, a person invests some amount in a bank. At the beginning of 2010, the accumulated interest was 10000 and at the beginning of 2015, the accumulated interest became 25000. The interest rate is compounded annually and the annual interest rate is fixed. What is the principal amount?​