In the current year, Ed invests $30,000 in an oil partnership. He has taxable income for the current year of $2,000 from the oil partnership and withdraws $10,000. What is Ed’s at-risk amount at the end of the year?