Input
Put one word inside the input textbox below and then click add word to add a word. Click process string to run the program
Output