The function f(x) takes a word input and returns the primary language associated with that word if applicable, otherwise, it returns undefined. For example, L'Orfeo returns Italian, and United States returns English.

