TASK DEFINITION: In this task, you are given a short story consisting of exactly 5 sentences where the second sentence is missing. You are given a candidate for the second sentence and you need to identify if the given sentence connects the first sentence with the rest of the story. Indicate your answer by "Yes" if it connects, otherwise "No". Do not generate anything else apart from "Yes" or "No". The given sentence is incorrect if it changes the subsequent storyline, so that at least one of the three subsequent sentences form a consistent story.
PROBLEM: Sentence 1: Peter was working on house repairs.
Sentence 3: Peter walked back to look at the room
Sentence 4: He stepped back into one of the walls he had painted
Sentence 5: Peter got paint all over the back of his shirt
Given Sentence 2: He had just painted one of the rooms in his house.

SOLUTION: Yes

PROBLEM: Sentence 1: Jimmy had to get a new pair of shoes.
Sentence 3: Jimmy went to the mall to browse some shoes
Sentence 4: He decided to purchase a pair of white tennis shoes
Sentence 5: Unfortunately, his new tennis shoes got stained the very next day
Given Sentence 2: They were slowly going through the course.

SOLUTION: No

PROBLEM: Sentence 1: Lucy and Lisa were playing with a dollhouse in the yard.
Sentence 3: She brought a can of house paint from the garage
Sentence 4: The girls painted the doll house and left it in the yard
Sentence 5: Lisa's grandmother yelled at them when she saw the mess they made
Given Sentence 2: Lisa decided she didn't want the doll house to be pink anymore.

SOLUTION:
Yes