Fruit posterior

Using n=20, S=177, and the stated shape–rate prior \operatorname{Gamma}(12,1), derive every exponent and rate in the posterior kernel. Compute the posterior mean and check that it lies between the prior mean and the maximum-likelihood estimate.

This exercise has no worked answer.