The function takes a word and returns the word in uppercase, except for words that are names of people, in which case it returns the word in lowercase with the first letter capitalized.

