Input (grade 11): Shah Jahan's eldest daughter, the devoted Jahanara Begum, gradually brought him out of grief and took the place of Mumtaz at court.
Output (grade 11): Jahan's eldest daughter, the devoted (loving) Jahanara Begum, slowly brought him out of mourning and took the place of Mumtaz at court.