The following text was written to the standard output stream when the NumberList.java program was executed from IntelliJ.
/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -javaagent:/opt/intellij-idea-community/lib/idea_rt.jar=43087:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath "/home/dsoules/IdeaProjects/CS1/out/production/CS1:/home/dsoules/IntelliJ Add-ons/SimpleComposer.jar:/home/dsoules/IntelliJ Add-ons/SimplePainter.jar:/home/dsoules/IntelliJ Add-ons/SimplePlayer.jar:/home/dsoules/IntelliJ Add-ons/jfugue-4.0.3-with-musicxml.jar" arrayplay.NumberList >>> Display 71 44 6 99 35 6 12 20 67 17 39 2 76 56 32 86 >>> Print last 86 >>> Swap 4 2 >>> Add first 1 >>> 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 71 99 6 44 35 6 12 20 67 17 39 2 76 56 32 86 >>> Exit Process finished with exit code 0