3690.Word Capitalization

Time Limit: 1s Memory Limit: 256MB

Capitalization is writing a word with its first letter as a capital letter. Your task is to capitalize the given word.

Note, that during capitalization all the letters except the first one remains unchanged.

Input Format(From the terminal/stdin)

A single line contains a non-empty word. This word consists of lowercase and uppercase English letters. The length of the word will not exceed 103.

Output Format(To the terminal/stdout)

Output the given word after capitalization.

Sample Input 1

Copy
ApPLe
     \n

Sample Output 1

Copy
ApPLe
     \n

Sample Input 2

Copy
konjac
      \n

Sample Output 2

Copy
Konjac
      \n

Submit

请先 登录

© 2025 FAQs