In 2012 , Fred invested $$\$ 50,000$$ in a general partnership. Fred's interest is not considered to be a passive activity. If his share of the partnership losses is $$\$ 35,000$$ in 2012 and $$\$ 25,000$$ in 2013 , how much can he deduct in each year?