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 0 1 1 2 3 5 8 13 21 34 55 89 144 >>> first ### Unrecognizable command: first >>> last ### Unrecognizable command: last >>> prtin first ### Unrecognizable command: prtin >>> ### Unrecognizable command: first >>> print first 0 >>> print last 144 >>> print 3 1 >>> print 18 0 >>> swap 5 7 >>> display 0 1 1 2 8 5 3 13 21 34 55 89 144 >>> 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 300 >>> shownumbers ### Unrecognizable command: shownumbers >>> display 100 0 1 1 2 8 5 3 13 21 34 55 89 144 300 >>> exit