A group of people wearing hats walk on a rocky beach .