A homeowner took a $30,000 loss on his property. For federal income tax purposes, he can declare how much?