A man and a dog on rocks on a beach .