Input (grade 6): It was the first time a pope paid a visit to a mosqueBBC News | MIDDLE EAST | Inside the Umayyad mosque.
Output (grade 2): It was the first time a pope paid a visit to a mosque.