X, Y and Z are partners in a firm. At the time of division of profit for the year, there was a dispute between the partners. Profits before interest on partner's capital were Rs.12,000 and Z demanded a minimum profit of Rs. 10,000 as his financial position was not good. However, there was no written agreement on this profit. Calculate the amount payable to X, Y and Z.