Assume a sample input is: 5, 74, 16, 2, 14, 127, 53, 30, 14, 11 By reverse order, do they mean: 11, 14, 30, 53, 127, 14, 2, 16, 74, 5 or 127, 74, 53, 30, 16, 14, 14, 11, 5, 2 Current code is for the second version, but I initially tried the first version using the follow code replacing everything after line 16:
for(int i = 0; i < 10; i++)
{
    nums.add(Integer.parseInt(reader.readLine()));
}
for(int i = 9; i >= 0; i--)
{
    System.out.println(nums.get(i));
}
Both versions had the validator tell me not to reverse the order of the array. I don't understand what I'm being asked to do, apparently.