The following text was written to the standard output stream when the ? program was executed from IntelliJ.
length of the primes array = 4 first prime = 2 last prime = 7 last prime = 7 the initial array ... 2 3 5 7 the final array ... 7 3 5 2