The function f(x) implemented in the script./temp1/function.py checks whether the input word is a city or not. It returns "Yes" for cities and "No" for non-cities.

