Taxpayers files as head of household. She sells a personal residence for $500,000, incurring $10,000 in selling expenses. The basis of the house is $200,000. How much gain must the taxpayers recognize on the sale of the residence?