Eric gets distracted so sometimes he forgets to put periods at the end of his sentences. To help him out, you are to put a period at the end of his sentences if the period is not already present.
The first line of input will contain a single integer n that indicates the number of lines to follow. Each line will consist of a sentence which may or may not have a period at the end.
Output the sentence, making sure there is one period at the end.