The function f(x) takes a word as input and returns the continent in which a specific location (country, city, or landmark) is situated. For instance, given the input "Rhine", the function returns "Europe". Given "UAE", the output is "Asia".

