Input (grade 12): The famed walls of Babylon were indeed impenetrable, with the only way into the city through one of its many gates or through the Euphrates, which ebbed beneath its thick walls.
Output (grade 12): The walls of Babylon were impenetrable, and the only way into the city was through one of its many gates or through the Euphrates, which ebbed beneath its thick walls.