An investment of $5,000 gains 10% in the first year and loses 1% in the second year. What is the value of the investment after two years?