| 시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
|---|---|---|---|---|---|
| 1 초 | 1024 MB | 1870 | 1402 | 1332 | 75.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.
3 You kicked my dog No I did not. It was the kid that did
You kicked my dog. No I did not. It was the kid that did.