Nidhi, Pranav and Ishu were partners in a firm sharing profits and losses in the ratio of 5 : 4 : 1. With effect from 1st April, 2024, they decided to share profits and losses in the ratio of 4 : 1 : 5. On that date, there was a debit balance of ₹ 4,00,000 in the Profit and Loss Account. The necessary journal entry to show the effect of the above will be :