The function f(x) takes a word input and returns the string "city" if the input is a valid place name, and undefined otherwise.

