A Story of Pirates
There are 100 highly intelligent and self-centered pirates. They are ranked from 1 to 100.They decided to divide a treasure by the following scheme. "If 50% or more than 50% of the members agree on dividing , then they will divide. If not, they will kill the last ranked pirate and the voting continues". (ex: suppose there are 56 pirates , then if 28 or more agree to divide the treasure , then they will divide. If not, they will kill 56th ranked pirate. Now the voting continues among 55 members.) How many pirates remain ?