PARTNERSHIP LIQUIDATION

The following condensed balance sheet is presented for the partnership of Alfa and Beda, who share profits and losses in the ratio of 60:40, respectively Cash $ 45,000 Other assets 625,000 Beda, loan 30000 $700,000 Accounts payable 120,000 Alfa, Capital 348000 Beda, Capital 232000 700,000 Instead of admitting a new partner, Alfa and Beda decide to liquidate the partnership. If the other assets are sold for $500,000, what amount of the available cash should be distributed to Alfa? Can somebody please explain why the 30k loan would reduce Beda's capital account by the full amount?