Given the task definition and input, reply with output. In this task, you're given the title of a five-sentence story and the first four sentences. Your job is to write the last sentence of the story such that it seamlessly connects with the rest of the story.

Title: The Hungry Dog. Sentence 1: There once was a dog that was wandering the streets. Sentence 2: It had not eaten in days so it was very hungry. Sentence 3: It decided that a garbage bin held some delicious food. Sentence 4: After digging through it, it found a sandwich!
The dog then left with a full stomach.