You have a biased coin:
where ppp is unknown.
You want to generate a fair coin flip (probability 1/21/21/2) using only this coin, without knowing ppp.
Question: What procedure do you use? Show that the output is fair.