Hi,
Let's say you start off with $500, and someone offers to give you another $500 everytime a coin is heads, or take $500 from you it's tails. You agree to play this game until a) you've either lost all your money, or b) you've made an extra $1000 (i.e. so you walk away with $1500).
Then...