E, M and R have a partnership and share income in a 1:2:3 ratio. After sale of assets for cash, division of loses on realization, and payment of liabilites, the capital balances are $50,000, $20,000, and $30,000, respectively. If R pays $15,000 for the deficiency, how much should be distributed to E?