Problem 11 Answer
The answer is 2*min(p,1-p).
Michael Shackleford, A.S.A.