Students had solved a multiplication puzzle where each correct answer unlocked part of a riddle — making math both exciting and skill-building