A moderately challenging puzzle.