Sentence 1: Mary had always gotten good grades in school, but failed a test. 
 Sentence 3: Mary cried when she saw the bad grade 
 Sentence 4:  Mary asked the teacher if she could take the test again 
 Sentence 5:  The teacher agreed and let her take the test again for a better grade 
 Given Sentence 2: He shopped every store he could think of.