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>.
B = input()
if len(B)/2 == 0:
  print(B[0].upper() + B[1:].lower())
elif len(B) == 1:
  print(B.capitalize())
elif len(B)%2 + 1 == 1:
  print(B[0].capitalize() + B[1:])
else:
  print(B)