The following text was written to the standard output stream when the NumberList.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 1 2 3 4 5 6 7 8 9 10 100 200 300 400 >>> 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 300 >>> display 300 1 2 3 4 5 6 7 8 9 10 100 200 300 400 >>> add last 600 >>> display 300 1 2 3 4 5 6 7 8 9 10 100 200 300 400 600 >>> swap 1 2 >>> display 1 300 2 3 4 5 6 7 8 9 10 100 200 300 400 600 >>> 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 >>> print 3 2 >>> print 6 5 >>> print last 600 >>> print first 1 >>> exit Process finished with exit code 0