There is a casino and it has 4 gates (letís name them as gate A, B, C and D). Every time you come inside the casino, you have to pay $5 and every time you leave the casino, you again have to pay $5. Also know that, whatever amount of money you carry with you inside the casino, it doubles. For example if you carry $5, it will become $10. You have to go inside the casino through gate A, come out of B, again go inside the casino through gate C and finally come out of gate D. Now, how much money should you carry inside the casino so that when you finally come out of the gate D, you should be left with no (zero amount) money?