Input (grade 9): In Egypt, he had seen the Pyramids, while at the temple of Ammon, he had been shown the hymn once sent to that shrine by Pindar.
Output (grade 9): In Egypt he had seen the Pyramids, while at the temple of Ammon he had been shown the hymn once sent to that shrine by Pindar.