Task: Story Composition
Input (English): Premise: Alvin failed the written part of his driver's exam. 
 Initial Context: He had not studied the driving booklet at all. 
 Original Ending: He decided to memorize the driver's manual. Alvin passed the next driver's exam. Alvin was sorry that he didn't read the manual before the first test. 
 New ending: He decided to memorize the driver's manual before the next driver's exam. Alvin passed the next driver's exam. Alvin was sorry that he didn't read the manual before the first test. 
Output (English): He had studied the book all week.