Jagan and Magan started a business with a capital of Rs. 36000 and Rs. 63 ,000 and decide to share their profit according to their capital. But Gagan joins the business on a condition that they will share the profit equally and for that Gagan gives 396000 to Jagan and Magan. Then find how Jagan and Magan will distribute that amount.