Write a program that accepts five input values and stores them into an array. The program should display those five numbers in reverse order. The program should then display all the numbers in the array that are larger than the average of the five numbers.