The function f(x) takes an input word that represents a place (city, country, or continent) and returns the continent the place is located in.

