The following text was written to the standard output stream when the ? program was executed from IntelliJ.
>>> display 40 30 20 9 33 21 3 9 10 7 12 45 63 >>> swap 1 2 >>> display 30 40 20 9 33 21 3 9 10 7 12 45 63 >>> 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 last 63 >>> print first 30 >>> printfirst ### Unrecognizable command: printfirst >>> add first 22 >>> display 22 30 40 20 9 33 21 3 9 10 7 12 45 63 >>> exit