A sum of 5000 dollars is invested at a nominal annual interest rate of 6%, compounded monthly. At the end of each month, immediately after interest is added, a payment of 100 dollars is withdrawn. The value of the investment in dollars immediately after the first withdrawal is