The function f(x) takes a word as input, and if the word is a common first name, it outputs the gender it is traditionally associated with (Male or Female). If the input is not a common first name, the output is "undefined".

