Input (grade 13): In mosques constructed and maintained by the government, the prayer leader is appointed by the ruler; in private mosques, however, appointment is made by members of the congregation through majority voting.
Output (grade 7): In mosques that were built or that are kept up by the government, the imam is selected by the ruler. In private mosques, the community selects the imam, through majority voting.