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 33 17 27 14 35 20 2 11 13 1 21 24 >>> print first 33 >>> print last 24 >>> print 3 27 >>> print 18 0 >>> swap 5 7 >>> display 33 17 27 14 2 20 35 11 13 1 21 24 >>> swap 1 12 >>> display 24 17 27 14 2 20 35 11 13 1 21 33 >>> 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 ### Unrecognisable command: shownumbers >>> display 100 24 17 27 14 2 20 35 11 13 1 21 33 200 >>> exit