A sum of money was invested for 8 years at 5% per annum and is now worth $3,000. What was the original amount invested (to the nearest $)?