Input (grade 11): It was reported that an invading Ottoman army turned back in fright when it encountered thousands of rotting corpses impaled on the banks of the Danube.
Output (grade 11): It was reported that an invading Ottoman army turned back when they saw thousands of rotting corpses impaled on the banks of the river Danube.