The following text was written to the standard output stream when the NumberListDemo 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 56 688 99 889 99 43 85 98756 8756 897 767 423 79 89 9 >>> print first 56 >>> add first 6 >>> print first 6 >>> add last 7 >>> print last 7 >>> swap 1 6 >>> display 99 56 688 99 889 6 43 85 98756 8756 897 767 423 79 89 9 7 >>> exit