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>.
from _ast import While
from math import inf
from collections import *
import math, os, sys, heapq, bisect, random, threading
from functools import lru_cache, reduce
from itertools import *


def inp(): return sys.stdin.readline().rstrip("\r\n")


def out(var): sys.stdout.write(str(var))


def binary_search(arr, target):
    left, right = 0, len(arr) - 1

    while left <= right:
        mid = left + (right - left) // 2  # Calculate the middle index

        if arr[mid] == target:
            return mid  # Found the target, return its index
        elif arr[mid] < target:
            left = mid + 1  # Target is in the right half
        else:
            right = mid - 1  # Target is in the left half

    return -1  # Target not found in the array


'''''''''
BELIVE
0 «.»
1 «-.»
2 «--»
'''''''''

# sys.stdin = open("test", 'r')
# Write your code here
y = list()
x = list(map(str, inp().split()))
for i in x:
    for j, in i:
            y.append(j)

xd = str(y[0]).upper()
out(f"{xd}{''.join(y[1:])}")
