IXL Learning interview question

Brainteaser about jellybeans