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>.
# capitalización

palabra = str(input(""))
mayus = "QWERTYUIOPÑLKJHGFDSAZXCVBNM"
tamanyo_maximo = 1000

if len(palabra) == 0:
    print("")
    
elif len(palabra) >= tamanyo_maximo:
    print(palabra[0].upper() + palabra[1:])
else:

    if palabra[0] in mayus:
        print(palabra)
    else:
        print(palabra.capitalize())