There are coins in front of you that each have a probability of landing heads per flip. You flip all coins once. Afterwards, you flip all the coins that landed tails again. Find the expected number of heads appearing at the end of the second turn when and .