Fred and Ethel share income equally. During the current year the partnership net income was $35,859. Fred made withdrawals of $12,835 and Ethel made withdrawals of $16,966. At the beginning of the year, the capital account balances were: Fred capital, $42,365; Ethel capital, $51,352. What is the Fred's capital account balance at the end of the year?