Ahmad invested in a savings bond for 5 years and was paid simple interest at an annual rate of 2%. The total interest that he earned was $800. How much did he invest?