Let X1,..., Xn be a random sample recorded as heads or tails resulting from tossing a coin n times with unknown probability p of heads. Find the MLE pˆ of p. Also using the invariance property, obtain an MLE for q = 1 - p. How would you use the results you have obtained?