The following text was written to the standard output stream when the NumberList program was executed from IntelliJ.
#"C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.2.2\jbr\bin\java.exe" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.2.2\lib\idea_rt.jar=57119:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.2.2\bin" -Dfile.encoding=UTF-8 -classpath "C:\Users\HP\IdeaProjects\CS1\out\production\CS1;C:\Users\HP\Downloads\JAVA files\SimplePainter.jar;C:\Users\HP\Downloads\JAVA files\SimpleComposer.jar;C:\Users\HP\Downloads\JAVA files\jfugue-4.0.3-with-musicxml.jar" arrayplay.NumberList C:\Users\HP\IdeaProjects\data\NumberSet.txt >>> 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 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 >>> print first 2 >>> print last 47 >>> print 3 5 >>> print 13 41 >>> swap 1 5 >>> display 11 3 5 7 2 13 17 19 23 29 31 37 41 43 47 >>> add first 0 >>> add last 53 >>> display 0 11 3 5 7 2 13 17 19 23 29 31 37 41 43 47 53 >>> exit