Ram, Manohar and Joshi were partners in a firm. Joshi died on 31st May, 2016. His share of profit from the closure of the last accounting year till the date of death was to be calculated on the basis of the average of three completed years of profits before death. Profits for the years ended 31st March, 2014, 2015 and 2016 were Rs.7,000; Rs.8,000 and Rs.9,000 respectively. Calculate Joshi’s share of profit till his death and pass necessary Journal entry for the sam.