The following text was written to the standard output stream when the NumberListDemo.html 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 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 >>> print first 2 >>> print last 30 >>> print 7 14 >>> print 12 24 >>> swap 4 8 >>> display 2 4 6 16 10 12 14 8 18 20 22 24 26 28 30 >>> swap 3 9 >>> display 2 4 18 16 10 12 14 8 6 20 22 24 26 28 30 >>> 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 111 >>> add last 777 >>> shownumbers ### Unrecognizable command: shownumbers >>> display 111 2 4 18 16 10 12 14 8 6 20 22 24 26 28 30 777 >>> exit~