In this task, you are given an input stream, and your task is to produce a grammatically correct version of the input sentence. The input to this task is a stream of words, possibly from captions generated by a speech-to-text engine, and the output is a grammatically correct version of the input stream. Stream words are in [] and have been separated with a comma. The sentence can contain words that have case, punctuation, stem-based, intra-word, and digit punctuation errors that need to be corrected. For example, the text should be uppercased/lowercased as per necessity (like the beginning of a sentence, proper nouns, etc.), and digits need to be normalized (6 as six and so on). Note that you don't need to normalize the years. You don't need to fully edit the sentences, if end of the input stream contains sentence fragments, keep them as is.

[EX Q]: ['well', 'the', 'biggest', 'buzz', 'in', 'education', 'circles', 'these', 'days', 'is', 'coming', 'not', 'from', 'an', 'educator', 'but', 'a', 'one-time', 'hedge', 'fund', 'manager', 'in', 'Silicon', 'Valley', 'the', 'former', 'Ivy', 'League', 'whiz', 'kid', 'has', 'revolutionized', 'math', 'instruction', 'with', 'a', 'series', 'of', 'online', 'lessons', 'that', 'have', 'gone', 'viral', 'on', 'YouTube', 'now', 'is', 'Elaine', 'Corey', 'reports', 'his', 'Khan', 'Academy', 'is', 'rocking', 'California', 'classrooms', 'it', 'all', 'started', 'a', 'few', 'years', 'ago', 'when', 'Sal', 'Khan', 'watched', 'his', 'young', 'cousin', 'Nadia', 'struggling', 'with', 'her', 'math', 'homework', 'he', 'saw', 'firsthand', 'what', 'he', 'says', 'is', 'wrong', 'with', 'math', 'instruction', 'in', 'America', 'a', 'rigid', 'model', 'that', 'forces', 'all', 'students', 'to', 'learn']
[EX A]: ['well', 'the', 'biggest', 'buzz', 'in', 'education', 'circles', 'these', 'days', 'is', 'coming', 'not', 'from', 'an', 'educator,', 'but', 'a', 'one-time', 'hedge', 'fund', 'manager', 'in', 'Silicon', 'Valley.', 'The', 'former', 'Ivy', 'League', 'whiz', 'kid', 'has', 'revolutionized', 'math', 'instruction', 'with', 'a', 'series', 'of', 'online', 'lessons', 'that', 'have', 'gone', 'viral', 'on', 'YouTube.', 'Now', 'as', 'Elaine', 'Korry', 'reports,', 'his', 'Khan', 'Academy', 'is', 'rocking', 'California', 'classrooms', 'it', 'all', 'started', 'a', 'few', 'years', 'ago', 'when', 'Sal', 'Khan', 'watched', 'his', 'young', 'cousin,', 'Nadia,', 'struggling', 'with', 'her', 'math', 'homework.', 'He', 'saw', 'firsthand', 'what', 'he', 'says', 'is', 'wrong', 'with', 'math', 'instruction', 'in', 'America,', 'a', 'rigid', 'model', 'that', 'forces', 'all', 'students', 'to', 'learn']

[EX Q]: ['welcome', 'back', 'well', 'in', 'the', 'last', 'video', 'we', 'took', 'the', 'Maclaurin', 'series', 'for', 'cosine', 'of', 'X', 'the', 'Maclaurin', 'series', 'representation', 'so', 'I', 'guess', 'we', 'might', 'as', 'well', 'do', 'the', 'same', 'for', 'sine', 'of', 'X', 'and', 'I', "I'm", 'sounding', 'very', 'nonchalant', 'but', 'I', 'have', 'a', 'a', 'reason', 'behind', 'why', "I'm", 'doing', 'this', 'and', "you'll", 'see', 'in', 'a', 'few', 'videos', 'from', 'now', 'when', 'we', 'come', 'with', 'the', 'when', 'we', 'come', 'up', 'with', 'the', 'grand', 'conclusion', 'so', 'anyway', "let's", 'just', 'set', '', 'f', 'of', 'X', 'and', 'you', 'might', 'just', 'want', 'to', 'do', 'this', 'yourself', 'and', 'instead', 'of', 'watching', 'me', 'do', 'it', 'because', 'it']
[EX A]: ['Welcome', 'back.', 'Well,', 'in', 'the', 'last', 'video', 'we', 'took', 'the', 'Maclaurin', 'series', 'for', 'cosine', 'of', 'x,', 'the', 'Maclaurin', 'series', 'representation.', 'So', 'I', 'guess', 'we', 'might', 'as', 'well', 'do', 'the', 'same', 'for', 'sine', 'of', 'X', 'and', 'I', "I'm", 'sounding', 'very', 'nonchalant,', 'but', 'I', 'have', 'a', 'a', 'reason', 'behind', 'why', "I'm", 'doing', 'this,', 'and', "you'll", 'see', 'in', 'a', 'few', 'videos', 'from', 'now', 'when', 'we', 'come', 'with', 'the', 'when', 'we', 'come', 'up', 'with', 'the', 'grand', 'conclusion.', 'So', 'anyway,', "let's", 'just', 'set', '', 'f', 'of', 'x.', 'And', 'you', 'might', 'just', 'want', 'to', 'do', 'this', 'yourself', 'and', 'instead', 'of', 'watching', 'me', 'do', 'it,', 'because', 'it']

[EX Q]: ['hi', 'there', 'my', 'name', 'is', 'John', 'Green', 'this', 'is', 'crash', 'course', 'world', 'history', 'and', 'today', "we're", 'going', 'to', 'talk', 'about', 'the', 'Crusades', 'Oh', 'Stan', 'do', 'we', 'have', 'to', 'talk', 'about', 'the', 'Crusades', 'I', 'hate', 'them', "here's", 'the', 'thing', 'about', 'the', 'Crusades', 'which', 'were', 'a', 'series', 'of', 'military', 'expeditions', 'from', 'parts', 'of', 'Europe', 'to', 'the', 'eastern', 'coast', 'of', 'the', 'Mediterranean', 'the', 'real', 'reason', 'they', 'feature', 'so', 'prominently', 'in', 'history', 'is', 'because', "we've", 'endlessly', 'romanticized', 'the', 'story', 'of', 'the', 'Crusades', "we've", 'created', 'the', 'simple', 'narrative', 'with', 'characters', 'to', 'root', 'for', 'and', 'to', 'root', 'against', 'and', "it's", 'been', 'endlessly', 'idealized', 'by', 'the', 'likes']
[EX A]:
hi there my name is John Green. This is crash course world history and today we're going to talk about the Crusades Oh Stan do we have to talk about the Crusades? I hate them. Here's the thing about the Crusades which were a series of military expeditions from parts of Europe to the eastern coast of the Mediterranean. The real reason they feature so prominently in history is because we've endlessly romanticized the story of the Crusades. We've created the simple narrative with characters to root for and to root against and it's been endlessly idealized by the likes