The function f(x) takes a word input and returns the continent associated with the input word, if the word represents a city or a country.

