An ingenious way to solve an educational problem.