The function f(x) takes a string input and returns a concatenated string of all the words in the input string with the first letter capitalized.

