The following text was written to the standard output stream when the NumberList.java program was executed from IntelliJ.
The original list of numbers ... 10 11 12 13 14 15 16 17 18 19 20 >>> print first 10 >>>print last 20 >>> print 3 12 >>>print 10 19