read the first integer value stored in N(size of array) create an array of size N and stored all next value into array now check the size of array that N is even or odd if even then reverse the array and print else print same as it is.... hope you try first yourself...