Sadie and Sam share income equally. For the current year, the partnership net income is $40,000. Sadie made withdrawals of $14,000 and Sam made withdrawals of $15,000. At the beginning of the year, the capital account balances were: Sadie, Capital, $42,000; Sam, Capital, $58,000. Sam's capital account balance at the end of the year is____________.