It seems that the function is not giving any output for the given input words. Let's try again with the 10 inputs you wanted to provide. Please give me these 10 words, and I will test the function again with the correct input format.