Compute posterior and predictive coin probabilities | Boston Consulting Group Interview Question