The function f(x) takes a word as input and returns the name of a country that is related to the input word in some way, such as a country that shares a border or has a similar name.

