Input (grade 9): Congregants pray in rows parallel to the qiblah wall and thus arrange themselves so they face Mecca.
Output (grade 4): People pray in rows parallel to the qiblah wall. They arrange themselves so they face Mecca.