Library puzzles