To start a new partnership, Partner A contributed an asset worth $45,000 with a $5,000 debt secured by it. Partner B loaned an asset worth $40,000 with no loans against it. How much should be credited to Partner A's capital account and how much should be credited to Partner B's capital account?