The following text was written to the standard output stream when the Numbers List 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=34343:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/jwalker6/IdeaProjects/CS1/out/production/CS1:/home/jwalker6/SimplePainter.jar:/home/jwalker6/jfugue-4.0.3-with-musicxml.jar:/home/jwalker6/SimpleComposer.jar arrayplay.NumberList >>> 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 5 20 15 60 69 95 2 7 3 9 45 82 94 72 18 36 >>> add first 69 >>> add last 420 >>> swap 1 17 >>> display 36 5 20 15 60 69 95 2 7 3 9 45 82 94 72 18 69 420 >>> print first 36 >>> print last 420 >>> print 7 95 >>> exit Process finished with exit code 0