<prompt> Human: I am working for a company that will match 401k up to 6,000 ie I could put 6,000 in and have 12,000 at the end of the year. I am also 160,000 in student loan debt with an average interest rate of 6. Should I attack the student loan with any extra money I earn or contribute to the 401k? I also dont know how long I am going to stay with this company. It may only be a couple years. Any advice?  <response>: That 6000 each year is costing you 360. But it returns 6000 - whatever the market does. Do it. Max it out. 