The function f(x) takes in a word (usually a country or location) as its input and returns the corresponding continent of that location.

