You need to create an algorithm with any real number A from [0;1] in input and the rules for the coin game with A chance winning in output. You can use only 1 coin, there are 2 people and at least one of them should win in a finite amount of time. Of course algorithm should work for all numbers identically, without human intervention
