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.
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 10<sup class="upper-index">3</sup>.
str1 = list(input()) 

if str1[0].islower():
    str1[0] = str1[0].upper()

for i in range(1, len(str1)): 
    if str1[i].isupper():
        str1[i] = str1[i].lower()

str1 = ''.join(str1)  
print(str1)
