The following text was written to the standard output stream when the Number List Demo 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 4 5 12 8 34 2 65 9 78 3 17 >>> print first 4 >>> printlast ### Unrecognizable command: printlast >>> print last 17 >>> print 4 8 >>> print 10 3 >>> swap 4 10 >>> display 4 5 12 3 34 2 65 9 78 8 17 >>> add first 100 >>> add last 200 >>> display 100 4 5 12 3 34 2 65 9 78 8 17 200 >>> exit