Sentence 1: Yan had a chimney that needed cleaning. 
 Sentence 3: The chimney sweep had a hangover and was not thinking clearly 
 Sentence 4:  He fell and got stuck in the chimney 
 Sentence 5:  Yan accidentally turned on the fireplace and the chimney sweep died 
 Given Sentence 2: His friend accidentally threw the basketball over the fence.