A black and white dog walks along a sandy beach .