Input (grade 4): Shoes must not be worn inside the carpeted prayer hall.
Output (grade 3): In the prayer halls, people must not wear shoes for much the same reason.