A dog walks along a beach .