Solution (source code)

= Solution

Separate high-count classes have very small expected frequencies, making the chi-square approximation unreliable. Pooling the upper tail gives a class with expected count about $20.9$, comfortably above the customary small-cell threshold. \b[The pooling protects the asymptotic test approximation], while retaining the tail count as part of the goodness-of-fit comparison.