시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
1 초 128 MB 2933 1245 1108 45.261%

문제

문장을 읽은 뒤, 줄의 첫 글자를 대문자로 바꾸는 프로그램을 작성하시오.

입력

첫째 줄에 줄의 수 N이 주어진다. 다음 N개의 줄에는 문장이 주어진다. 각 문장에 들어있는 글자의 수는 30을 넘지 않는다. 모든 줄의 첫 번째 글자는 알파벳이다.

출력

각 줄의 첫글자를 대문자로 바꾼뒤 출력한다.

예제 입력 1

5
powdered Toast Man
skeletor
Electra Woman and Dyna Girl
she-Ra Princess of Power
darth Vader

예제 출력 1

Powdered Toast Man
Skeletor
Electra Woman and Dyna Girl
She-Ra Princess of Power
Darth Vader
W3sicHJvYmxlbV9pZCI6IjQ0NTgiLCJwcm9ibGVtX2xhbmciOiIwIiwidGl0bGUiOiJcdWNjYWIgXHVhZTAwXHVjNzkwXHViOTdjIFx1YjMwMFx1YmIzOFx1Yzc5MFx1Yjg1YyIsImRlc2NyaXB0aW9uIjoiPHA+XHJcblx0XHViYjM4XHVjN2E1XHVjNzQ0IFx1Yzc3ZFx1Yzc0MCBcdWI0YTQsIFx1YzkwNFx1Yzc1OCBcdWNjYWIgXHVhZTAwXHVjNzkwXHViOTdjIFx1YjMwMFx1YmIzOFx1Yzc5MFx1Yjg1YyBcdWJjMTRcdWFmYjhcdWIyOTQgXHVkNTA0XHViODVjXHVhZGY4XHViN2E4XHVjNzQ0IFx1Yzc5MVx1YzEzMVx1ZDU1OFx1YzJkY1x1YzYyNC48XC9wPlxyXG4iLCJpbnB1dCI6IjxwPlxyXG5cdFx1Y2NhYlx1YzlmOCBcdWM5MDRcdWM1ZDAgXHVjOTA0XHVjNzU4IFx1YzIxOCBOXHVjNzc0IFx1YzhmY1x1YzViNFx1YzljNFx1YjJlNC4gXHViMmU0XHVjNzRjIE5cdWFjMWNcdWM3NTggXHVjOTA0XHVjNWQwXHViMjk0IFx1YmIzOFx1YzdhNVx1Yzc3NCBcdWM4ZmNcdWM1YjRcdW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