It changes on each gameplay. You need to rely on saves states and keep memorizing the coin toss results. You can write the results down in the paper.