39. You toss a balanced coin 10 times and write down the resulting sequence of heads and tails, such as HTTTHHTHHH.
39.
(a)
(b)