The following text was written to the standard output stream when the NumberList program was executed from IntelliJ.
>>> display 21 83 89 93 52 81 9 93 72 46 13 33 >>> print first 21 >>> print last 33 >>> print 3 89 >>> print 9 72 >>> swap 5 7 >>> display 21 83 89 93 9 81 52 93 72 46 13 33 >>> swap 1 12 >>> display 33 83 89 93 9 81 52 93 72 46 13 21 >>> 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 100 >>> add last 200 >>> shownumbers ### Unrecognizable command: shownumbers >>> display 100 33 83 89 93 9 81 52 93 72 46 13 21 200 >>> exit