Input (grade 6): He would make his head touch the floor and pray to her daily, and while dying he would pray throughout the day.
Output (grade 7): He would make his head touch the floor and pray to her daily, and while dying he would pray to her throughout the day.