Input (grade 6): In most cities of Morocco, Jews were required to remove their shoes when passing by a mosque.
Output (grade 5): In most cities of Morocco, Jews had to take off their shoes when passing by a mosque.