| Topic | Difficulty | Companies |
|---|---|---|
| Riddle | MEDIUM | Microsoft |
There are 5 pirates, they must decide how to distribute 100 gold coins among them. The pirates have seniority levels, the senior-most is A, then B, then C, then D, and finally the junior-most is E. Rules of distribution are:
Rules every pirate follows :
What is the maximum number of coins that pirate A might get?
The Answer is an integer. Just put the number without any decimal places.