The following text was written to the standard output stream when the WordList program was executed from IntelliJ.
>>> Display Bug Pen Dog Cat Bush Computer Circle Phone Book Dowm Snow Winter Swam Can Why >>> help HELP - display a menu of commands DISPLAY - display the list of numbers PRINT - print a String (FIRST;LAST;nth) SWAP - exchange two elements (nth;mth) ADD - add a String to the list (FIRST;LAST) EXIT - terminate execution of the program >>> print first Bug >>> swap 3 4 >>> display Bug Pen Cat Dog Bush Computer Circle Phone Book Dowm Snow Winter Swam Can Why >>> add last run >>> display Bug Pen Cat Dog Bush Computer Circle Phone Book Dowm Snow Winter Swam Can Why run >>> exit