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
# x=0
# for ___ in range(int(input())):
#   statements=list(input())

#   for verify in statements:

#     subtraction=True
#     if verify=='+':
#       x+=1
#       subtraction=False
#       break
#   if subtraction:
#     x-=1
# print(x)

# x=input().split()
# index=int(x[1])-1
# list_nums = []

# for num in range(int(x[0])):
#   if num%2>0 and num!=0:
#     list_nums.append(num)
# for num in range(int(x[0])):
#   if num%2==0 and num!=0:
#     list_nums.append(num)
# print(list_nums[index])

# username=list(input())
# alist=[]
# for letter in username:
#   if letter not in alist:
#     alist.append(letter)



# if len(alist)%2==0:
#   print("CHAT WITH HER!")
# else:
#   print("IGNORE HIM!")

word=input()
letter_list=list(word)

if word[0].isupper():
  print(word)
else:
  
  letter_list.insert(0,letter_list.pop(0).upper())
  print(''.join(letter_list))


