The teacher solved a puzzle while designed a secret recipe in a library of ancient books.