For example:
The Numbers are 5 6 7 8 12 13 49 52
first find the smallest number (in this example:5) next, count about three times (in this example:8) and remove 8 from the arrangements and do this action while you arrive the last of arrangement and until just one number got not removed.
so, the next number after 8 will be (49) and after 49 we will arrive the last of arrangement so we must start the pathway we did before from beginning (the next number will be removed is (6) and the next one will be (13) the next will be (7) and the next one will be (5) and the next one will be 12
At last the number which has not been removed will be 52 .
Second Example:
The Arrangement of numbers are 25 34 85 79 52 13 48 77
As first example, the smallest number which is chosen is (13) next, count three times forward and remove this. so the number (25) will be removed and the next one is 79 which is removed the next one is 48 that will be removed the next one is 85 and the net one is 77 and the next one is 13 and the next one is 34
At last, the number which has not been removed is 52
Note:Blue numbers are smallest one in each arrangements
Red numbers are not been removed in each arrangements
Green numbers which have been removed in each arrangements