시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
1 초 128 MB 2645 1105 977 44.632%

문제

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

입력

첫째 줄에 줄의 수 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+XHJcblx0XHViYjM4XHVjN2E1XHVjNzQ0IFx1Yzc3ZFx1Yzc0MCBcdWI0YTQsIFx1YzkwNFx1Yzc1OCBcdWNjYWIgXHVhZTAwXHVjNzkwXHViOTdjIFx1YjMwMFx1YmIzOFx1Yzc5MFx1Yjg1YyBcdWJjMTRcdWFmYjhcdWIyOTQgXHVkNTA0XHViODVjXHVhZGY4XHViN2E4XHVjNzQ0IFx1Yzc5MVx1YzEzMVx1ZDU1OFx1YzJkY1x1YzYyNC48XC9wPlxyXG4iLCJpbnB1dCI6IjxwPlxyXG5cdFx1Y2NhYlx1YzlmOCBcdWM5MDRcdWM1ZDAgXHVjOTA0XHVjNzU4IFx1YzIxOCBOXHVjNzc0IFx1YzhmY1x1YzViNFx1YzljNFx1YjJlNC4gXHViMmU0XHVjNzRjIE5cdWFjMWNcdWM3NTggXHVjOTA0XHVjNWQwXHViMjk0IFx1YmIzOFx1YzdhNVx1Yzc3NCBcdWM4ZmNcdWM1YjRcdWM5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