f(x) takes a word as input and returns the first letter of the word followed by the number of letters in the word. For example, if the input is "hello", the output would be "h5".
