Input (grade 9): Initially, the town planned to buy land for a cemetery and then ask the families of the dead to pay for their burial.
Output (grade 7): At first, they planned to buy land for a cemetery and ask the families of the dead to pay for the burial.