Question 6
You gamble with the Devil with three dollars initially. Five games are played. Each game you pay an integer number of dollars, from zero to your current funds. If you win, the Devil returns twice your payment; if you lose, he keeps it. Exactly one game is lost, and the Devil chooses which one after seeing your bet. What is the greatest amount you can guarantee after all five games?