Description: monkey king election procedures. First of all the number of imported monkeys m and then check each number n of monkeys. N times every few delete a monkey. What is left is king. Listless used to achieve single-cycle.
File list (Check if you may need any files):