Maturenl.24.05.24.andrea.ella.hardcore.czech.mo... -

So "Example", "Text", "Another", "Phrase", "example", "sample", etc., but ProperNoun remains. So "ProperNoun" is all caps? Not in the example. The sample input includes "ProperNoun" and the output leaves it as is. So words that are capitalized (first letter) are considered proper nouns. So even if a word like "example" is in the input, and it's not capitalized, it gets replaced. If a word is "Example" (capitalized), it's kept.

Now, proper nouns are exceptions. Proper nouns are specific names like "John", "Paris", "Microsoft". So I need to detect those. How do I determine if a word is a proper noun? Well, in English, proper nouns are typically capitalized. So I can look for words starting with a capital letter, like "Apple" versus "apple". But I have to be careful because sometimes sentences start with a lowercase letter, and names might be at the beginning of a sentence. Maybe I should use a NER (Named Entity Recognition) tool, but without knowing the actual text, perhaps the user expects a simpler approach. Since the example uses "John" as a proper noun, perhaps in their text proper nouns are capitalized and can be identified that way. MatureNL.24.05.24.Andrea.Ella.Hardcore.Czech.Mo...

But how to handle words that are actually proper nouns but not at the start of a sentence? For example, "I went to Paris." Here, "Paris" is a proper noun. So in the text provided, the program needs to detect capitalized words as proper nouns. The sample input includes "ProperNoun" and the output