The following text was written to the standard output stream when the WordList.java program was executed from IntelliJ.
>>> help HELP - display a menu of commands DISPLAY - display the list of numbers PRINT - print a number (FIRST;LAST;nth) SWAP - exchange two elements (nth;mth) ADD - add a number to the list (FIRST;LAST) EXIT - terminate execution of the program >>> display hello goodbye lastly snow rain man woman charge point bottle thirty phone computer program >>> swap 1 14 >>> display program goodbye lastly snow rain man woman charge point bottle thirty phone computer hello >>> add first kemono >>> add last normal >>> display kemono program goodbye lastly snow rain man woman charge point bottle thirty phone computer hello normal >>> exit