The following text was written to the standard output stream when the NumberList.java program was executed from IntelliJ.
>>> display 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 >>> print 2 3 >>> swap 3 5 >>> display 1 3 9 7 5 11 13 15 17 19 21 23 25 27 29 >>> add first 3 >>> display 3 1 3 9 7 5 11 13 15 17 19 21 23 25 27 29 >>> 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 >>> exit Process finished with exit code 0