Megan received a $208,000 inheritance after taxes from her parents. She invested it at 8% interest compounded quarterly for 5 years. A year after receiving the inheritance, she sold one of her rental properties for $218,000 and invested that money at 7% compounded semiannually for 4 years. Both of the investments have now matured. How much money does Megan have totaling both of these investments?