The following text was written to the standard output stream when the NumberList.java program was executed from IntelliJ.
>>> display 2 3 5 1 6 8 9 0 7 4 12 34 21 10 23 >>> print first 2 >>> print last 23 >>> ### Unrecognizable command: print3 >>> print 3 5 >>> print 4 1 >>> swap 3 8 >>> display 2 3 0 1 6 8 9 5 7 4 12 34 21 10 23 >>> add first 22 >>> add last 44 >>> display 22 2 3 0 1 6 8 9 5 7 4 12 34 21 10 23 44 >>>