In 2009, Pearl invests $80,000 for a 10% partnership interest in an activity in which she is a material participant. The partnership reports losses of $500,000 in 2009 and $450,000 in 2010. Pearl's share of the partnership's losses is $50,000 in 2009 and $45,000 in 2010. How much of the losses can Pearl deduct?