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.

[Q]: ['so', "we've", 'been', 'talking', 'about', 'the', 'progress', 'of', 'the', 'American', 'Civil', 'War', 'which', 'started', 'in', 'early', '1861', 'after', 'the', 'eleven', 'states', 'of', 'the', 'south', 'which', 'were', 'slave', 'states', 'seceded', 'from', 'the', 'Union', 'and', 'tried', 'to', 'establish', 'an', 'independent', 'nation', 'known', 'as', 'the', 'Confederate', 'States', 'of', 'America', 'and', 'in', 'the', 'first', 'years', 'of', 'the', 'Civil', 'War', 'things', 'went', 'relatively', 'well', 'for', 'the', 'south', 'they', 'defeated', 'the', 'north', 'at', 'the', 'Battle', 'of', 'Bull', 'Run', 'which', 'was', 'a', 'great', 'surprise', 'to', 'many', 'people', 'because', 'they', 'thought', 'that', 'this', 'was', 'going', 'to', 'be', 'a', 'pretty', 'short', 'war', 'that', 'the', 'South', 'would', 'be', 'quickly', 'defeated']
[A]: ['so', "we've", 'been', 'talking', 'about', 'the', 'progress', 'of', 'the', 'American', 'Civil', 'War', 'which', 'started', 'in', 'early', '1861', 'after', 'the', '11', 'states', 'of', 'the', 'South,', 'which', 'were', 'slave', 'states,', 'seceded', 'from', 'the', 'Union', 'and', 'tried', 'to', 'establish', 'an', 'independent', 'nation', 'known', 'as', 'the', 'Confederate', 'States', 'of', 'America.', 'And', 'in', 'the', 'first', 'years', 'of', 'the', 'Civil', 'War', 'things', 'went', 'relatively', 'well', 'for', 'the', 'South.', 'They', 'defeated', 'the', 'North', 'at', 'the', 'Battle', 'of', 'Bull', 'Run', 'which', 'was', 'a', 'great', 'surprise', 'to', 'many', 'people', 'because', 'they', 'thought', 'that', 'this', 'was', 'going', 'to', 'be', 'a', 'pretty', 'short', 'war,', 'that', 'the', 'South', 'would', 'be', 'quickly', 'defeated']

[Q]: ['the', 'graph', 'below', 'contains', 'the', 'rectangle', 'ABC', 'P', 'draw', 'the', 'image', 'of', 'a', 'BCP', 'under', 'a', 'dilation', 'whose', 'centre', 'is', 'at', 'P', 'and', 'a', 'scale', 'factor', 'is', 'what', 'is', '1', 'and', '2/3', 'what', 'are', 'the', 'lengths', 'of', 'the', 'side', 'a', 'B', 'and', "it's", 'image', 'so', "we're", 'going', 'to', 'do', 'a', 'dilation', 'centered', 'at', 'P', 'so', 'for', 'centering', 'a', 'dilation', 'at', 'P', 'that', 'means', 'that', 'every', 'other', 'point', 'is', 'going', 'and', 'a', 'scale', 'factor', 'is', '1', 'and', '2/3', 'that', 'means', 'once', 'we', 'scale', 'once', 'we', 'perform', 'the', 'dilute', 'once', 'we', 'perform', 'the', 'dilation', 'every', 'point', 'is', 'going', 'to', 'be', '1', 'in']
[A]: ['The', 'graph', 'below', 'contains', 'the', 'rectangle', 'ABC', 'P', 'draw', 'the', 'image', 'of', 'a', 'BCP', 'under', 'a', 'dilation', 'whose', 'center', 'is', 'at', 'P', 'and', 'a', 'scale', 'factor', 'is', 'what', 'is', '1', 'and', '2/3.', 'What', 'are', 'the', 'lengths', 'of', 'the', 'side', 'a', 'B', 'and', 'its', 'image?', 'So', "we're", 'going', 'to', 'do', 'a', 'dilation', 'centered', 'at', 'P', 'so', 'for', 'centering', 'a', 'dilation', 'at', 'P', 'that', 'means', 'that', 'every', 'other', 'point', 'is', 'going', 'and', 'a', 'scale', 'factor', 'is', '1', 'and', '2/3,', 'that', 'means', 'once', 'we', 'scale', 'once', 'we', 'perform', 'the', 'dilute', 'once', 'we', 'perform', 'the', 'dilation', 'every', 'point', 'is', 'going', 'to', 'be', '1', 'and']

[Q]: ["we're", 'in', 'the', 'Leopold', 'museum', 'in', 'Vienna', 'and', "we're", 'looking', 'at', 'Egon', 'Schiele', 'as', 'the', "hermit's", "it's", 'a', 'large', 'almost', 'perfectly', 'square', 'canvas', 'the', 'states', 'from', '1912', 'when', 'she', 'was', 'only', '22', 'he', 'was', 'an', 'incredibly', 'precocious', 'painting', 'I', 'would', 'say', 'so', "it's", 'a', 'really', 'bleak', 'image', 'you', 'have', 'two', 'figures', 'that', 'are', 'so', 'closely', 'entwined', 'they', 'almost', 'seem', 'to', 'have', 'merged', "they're", 'on', 'this', 'barest', 'reference', 'of', 'a', 'ground', 'and', 'then', 'in', 'back', 'of', 'them', 'is', 'a', 'kind', 'of', 'fractured', 'atmosphere', 'that', 'almost', 'reminds', 'you', 'of', 'a', 'stained', 'glass', 'window', "it's", 'hard', 'to', 'call', 'it', 'an', 'atmosphere', 'because', "it's"]
[A]:
we're in the Leopold Museum in Vienna and we're looking at Egon Schiele as the hermit's it's a large, almost perfectly square canvas the states from 1912 when Schiele was only 22. He was an incredibly precocious painting I would say so. It's a really bleak image. You have two figures that are so closely entwined, they almost seem to have merged. They're on this barest reference of a ground and then in back of them, there's a kind of fractured atmosphere that almost reminds you of a stained glass window it's hard to call it an atmosphere because it's