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=46747:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/rnewell2/IdeaProjects/CS1/out/production/CS1:/home/rnewell2/SimplePainter.jar:/home/rnewell2/SimpleComposer.jar:/home/rnewell2/jfugue-4.0.3-with-musicxml.jar arrayplay.NumberList >>> display 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 >>> 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 5 5 >>> swap 1 4 >>> display 4 2 3 1 5 6 7 8 9 10 11 12 13 14 15 >>> add last 55 >>> add first 32 >>> display 32 4 2 3 1 5 6 7 8 9 10 11 12 13 14 15 55 >>> exit Process finished with exit code 0