Give your students a challenge with this competition problem.