Two winners split a 2,000 prize for deciphering a riddle on a rock on a beach in western France.