The function f(x) returns the input unchanged if it is a single word with no spaces, otherwise it returns undefined.

