A real estate agent sold a property for $500,000. The agent's commission is 6% of the sale price, and she needs to pay 40% of her commission to her brokerage firm. How much money does the agent keep after paying the brokerage firm? Let's think step by step and output the final answer within \boxed{}.
user