Introduction - If you have any usage issues, please Google them yourself
The n (n > 0) individuals are surrounded by a circle, numbered 1 to N, and all hold the same password m. From the first person from 1 to start off, back off m stop, the person out of the ring. The next person to start off from the 1 stop, back off m, the man out of the ring. And so on, until all people get out of the circle. Arbitrarily given n and m, determine whether the input is legitimate, if the reason is unlawfully specified; if the legitimate output of the corresponding out of the ring sequence.