Introduction - If you have any usage issues, please Google them yourself
There are N child form a circle and followed by number of teachers designated M from the first child to start off, the first S to report that their child out of. And then continue to the next reported that the number of children, number of children to the first S out and make it out, so until there are only a child. Seek out the sequence of children.