If a fair coin is tossed 3 times, what is the probability of getting at…