A sailor uncovered a puzzle while found a piece of music on the beach.