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
__author__ = 'sanu001'
import queue

__read_tokens = queue.Queue()

def next_string():
  while __read_tokens.empty():
    for i in input().split():
      __read_tokens.put(i)
  return __read_tokens.get()

def next_int():
  return int(next_string())

def next_float():
  return float(next_string())

def next_line():
  if not __read_tokens.empty():
    raise Exception("Unclean token cache")
  return input()

s = next_string()

k_chr = s[0]
k_int = ord(k_chr)
ss = s

if k_int >= ord('a'):
    ss = s[1:]
    k_int = k_int + ord('A') - ord('a')
    ss = chr(k_int) + ss

print(ss)