시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
1 초 128 MB 1213 661 594 54.747%

문제

텍스트에서 줄을 입력받은 뒤, 줄 번호를 출력하는 프로그램을 작성하시오.

입력

첫째 줄에 줄의 수 N이 주어진다. 둘째 줄부터 N개의 줄에 각 줄의 내용이 주어진다. 각 줄에 있는 글자의 개수는 50글자를 넘지 않는다.

출력

각 문장의 앞에 줄 번호를 추가한 뒤 출력한다. 줄 번호는 1번부터 시작한다. 줄번호를 추가하는 형식은 출력 예제를 참고하면 된다.

예제 입력 1

5
Lionel Cosgrove
Alice
Columbus and Tallahassee
Shaun and Ed
Fido

예제 출력 1

1. Lionel Cosgrove
2. Alice
3. Columbus and Tallahassee
4. Shaun and Ed
5. Fido
W3sicHJvYmxlbV9pZCI6IjQ0NzAiLCJwcm9ibGVtX2xhbmciOiIwIiwidGl0bGUiOiJcdWM5MDRcdWJjODhcdWQ2MzgiLCJkZXNjcmlwdGlvbiI6IjxwPlxyXG5cdFx1ZDE0ZFx1YzJhNFx1ZDJiOFx1YzVkMFx1YzExYyBcdWM5MDRcdWM3NDQgXHVjNzg1XHViODI1XHViYzFiXHVjNzQwIFx1YjRhNCwgXHVjOTA0IFx1YmM4OFx1ZDYzOFx1Yjk3YyBcdWNkOWNcdWI4MjVcdWQ1NThcdWIyOTQgXHVkNTA0XHViODVjXHVhZGY4XHViN2E4XHVjNzQ0IFx1Yzc5MVx1YzEzMVx1ZDU1OFx1YzJkY1x1YzYyNC48XC9wPlxyXG4iLCJpbnB1dCI6IjxwPlxyXG5cdFx1Y2NhYlx1YzlmOCBcdWM5MDRcdWM1ZDAgXHVjOTA0XHVjNzU4IFx1YzIxOCBOXHVjNzc0IFx1YzhmY1x1YzViNFx1YzljNFx1YjJlNC4gXHViNDU4XHVjOWY4IFx1YzkwNFx1YmQ4MFx1ZDEzMCBOXHVhYzFjXHVjNzU4IFx1YzkwNFx1YzVkMCBcdWFjMDEgXHVjOTA0XHVjNzU4IFx1YjBiNFx1Yz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