Write a function to get the values in array but it souldnt get any negative values and print the second largest value from the values in the array?