The function f(x) takes an input word (related to places, events, people, or objects) and returns the name of the continent most associated with that word.

