If $500 is invested now, $700 two years from now and $900 four years from now, and all earn 4% interest, what is the total amount in ten years.