시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 1024 MB18701402133275.768%

문제

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.

예제 입력 1

3
You kicked my dog
No I did not.
It was the kid that did

예제 출력 1

You kicked my dog.
No I did not.
It was the kid that did.