A coin that comes up head with probability p>0 and tails with probability (1-p)>0 independently on each flip is flipped eight times. Suppose the probability of three heads and five tails is 1/16 of the probability of five heads and 3 tails. Let p=m/n where m and n are relatively prime positive integers. find m+n.
Please give a detailed explanation