The following text was written to the standard output stream when the NumberList.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 1 2 3 5 8 13 21 34 55 89 144 233 377 600 >>> print first 1 >>> print last 600 >>> print 3 3 >>> print 18 0 >>> swap 5 7 >>> display 1 2 3 5 21 13 8 34 55 89 144 233 377 600 >>> swap 1 18 >>> display 0 2 3 5 21 13 8 34 55 89 144 233 377 600 >>> 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 100 >>> add last 200 >>> shownumbers ### Unrecognizable command: shownumbers >>> nap ### Unrecognizable command: nap >>> display 100 0 2 3 5 21 13 8 34 55 89 144 233 377 600 200 >>> exit Process finished with exit code 0