def first_word_capitalize(text):
    capitalized_text = text.capitalize()
    return capitalized_text


input_text = input("Enter a word or sentence: ")
capitalized_text = first_word_capitalize(input_text)
print("Capitalized text:", capitalized_text)


"""
Example:

Enter a word or sentence: python
Capitalized text: Python
"""
