Teacher: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.
Teacher: Now, understand the problem? Solve this instance: Sentence 1: Sam was at the store looking to buy a television.
Sentence 3: He decided to buy it for a cheaper price online
Sentence 4: Before he did a store employee told him they price matched
Sentence 5: Sam bought it in the store instead
Given Sentence 2: He found one he liked and then looked it up online.
Student:
Yes