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>.
# -*- coding: utf-8 -*-
"""
Created on Thu Oct 12 13:18:06 2023

@author: UtentePC
"""

def maiuscola(stringa):
    str_finale = ''
    if stringa[0].isupper():
        return stringa
    else:
        for i in range(len(stringa)):
            if i == 0:
                lettera = stringa[i].upper()
            else:
                lettera = stringa[i]
            str_finale += lettera
        return str_finale


#print(maiuscola("Mela"))