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: Mary didn't want to play piano.
Sentence 3: One day a guy she liked said he played piano
Sentence 4: Mary went home and practiced so much she forgot about the guy
Sentence 5: She became a concert musician and never thought of the guy again
Given Sentence 2: They love to go dancing every Friday.

SOLUTION: No

PROBLEM: Sentence 1: Trey had forgotten to study for his math exam.
Sentence 3: The test was postponed
Sentence 4: Trey was relieved
Sentence 5: He studied hard that night for the test
Given Sentence 2: His teacher was sick and they had a sub.

SOLUTION: Yes

PROBLEM: Sentence 1: The American scientists have been working on a bomb.
Sentence 3: They assembled all the materials
Sentence 4: Finally the day to test it came
Sentence 5: The gadget worked
Given Sentence 2: They worked on a design.

SOLUTION:
Yes