Marguerite inherited $55,000 and invested part of it in her retirement account and donated the rest to a local soup kitchen. The amount of the investment was $3000 less than four times the amount of the donation. How much did Marguerite invest in her retirement account and how much did she donate to the soup kitchen?