There are 100 pirates on a ship. They have distinct dates of birth. They find 1000 gold coins. They want to distribute the coins among themselves. The oldest pirate is supposed to propose a distribution of the coins, and then all the pirates, including himself, vote on whether the distribution is acceptable. If at least half of the pirates on the ship vote for it, the coins are distributed according to the proposed distribution. Otherwise, the oldest pirate who proposed the distribution is killed and thrown overboard, and the oldest among the remaining pirates makes a new proposal. This continues until a proposal is accepted.
Each pirate decides his vote after considering three factors. For each pirate, survival is the most important necessity. After ensuring survival, each pirate maximizes the number of coins he gets. He prefers to throw the oldest pirate overboard if it doesn't affect his survival and the maximum number of coins he gets.
Which pirate gets the greatest number of gold coins? How many coins does he get?