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 macabre tumultuous likewise psychology aphasia agnosia derivative molecule starfish linguistic pasta mystic novella geese >>> print first macabre >>> print last geese >>> print 3 likewise >>> print 18 null >>> swap 5 7 >>> display macabre tumultuous likewise psychology derivative agnosia aphasia molecule starfish linguistic pasta mystic novella geese >>> swap 1 10 >>> display linguistic tumultuous likewise psychology derivative agnosia aphasia molecule starfish macabre pasta mystic novella geese >>> 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 >>> add first 200 >>> add last 100 >>> shownumbers ### Unrecognizable command: shownumbers >>> display 200 linguistic tumultuous likewise psychology derivative agnosia aphasia molecule starfish macabre pasta mystic novella geese 100 >>> exit