Introduction - If you have any usage issues, please Google them yourself
Joseph (Joseph) a description of the problem is: numbered 1,2 ,..., n of n individuals sitting around a circle clockwise, each holding a password (positive integer). The beginning of a positive integer as the selection of the number of reported upper limit of m, starting from the first person clockwise order starting from a number of newspaper, newspaper to report the number of m to stop. Who reported m out of line, it' s password as the new m value, and then start a new one from the reported number of individuals, and so forth, until the last one remaining was the winner. Design a program list find out the order.