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

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

Output the given word after capitalization.

Examples

Input

ApPLe


Output

ApPLe


Input

konjac


Output

Konjac
'''
A. Word Capitalization
time limit per test2 seconds
memory limit per test256 megabytes
inputstandard input
outputstandard output
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
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
Output the given word after capitalization.

Examples
inputCopy
ApPLe
outputCopy
ApPLe
inputCopy
konjac
outputCopy
Konjac

'''
wordCap = input()
LatinLow = 'abcdefghijklmnopqrstuvwxyz'
LatinUp = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
outputWord = ''
WHead = wordCap[0]
if wordCap[0] in LatinLow:
    tmp = LatinLow.find(wordCap[0])
    WHead=LatinUp[tmp]
for i in range(0,len(wordCap)):
    if i == 0:
        outputWord = outputWord + WHead
    else:
        outputWord = outputWord + wordCap[i]
print(outputWord)