Suppose there are 100 people standing in a circle .
The first person has a gun in hand. What he has to do is shoot the second person and then pass the gun to the third person. Now, the third person kills the fourth person and gives gun to the fifth person.
This process is carried till there is only one person surviving.
Can you find out who survives at the end.