This problem is a little like a FM Exam material, but I don't know how to do it

can you show all your work if you know how to solve it? Thanks

Suppose you pay 1000 dollars at the beginning of each year into an account that gains 6% interest every year, until you die. Assume that interest is only compounded once a year and that the last interest payment is made at the end of the year in which you die. Assume that you have a 6% chance of dying in any year, given that you were alive at the beginning of it. What is the expected accumulated value in your account at the end of the year in which you die?