Introduction - If you have any usage issues, please Google them yourself
Real group of children playing at the beach and found a beautiful shell,* each child are hoping to get the shell, in order to determine the ownership of this shell,* Simon proposed a solution as follows: all form a circle,* from a location started counting from 1 to N, to N, the number of children out, the rest continue to count,* a child is left behind by the last shell of the lucky ones. write a program,* the output of each child shell out the order and get the lucky last.