The function f(x) takes a word input related to a country or region and returns the name of the continent it belongs to. For example, for the input "Rhine," the output is "Europe." It seems to work only with geographical entities.

