(JAVA) How would I get an number using an index from an array that is not in order without sorting the array with n being any number equal two or greater than one? For example:<