coin 10 times, whichever comes first. Note that if we flip a head in less
than 10 attempts, we stop immediately. Otherwise, we flip the coin ten
times. What is the expected number of times we will flip a head?
Fig: 1