Definition: In this task, you are given inputs i,j, and A, where i and j are integers and A is a list. You need to list all elements of A from the ith element to the jth element in the reverse order. i and j will be non-negative, and will always have a value less than the length of A. i will always be less than j.
Input: 7, 22, ['3891', '3465', '4763', '7677', '9311', '8755', 'k', 'm', 'o', 'L', 'c', 'H', 'f', 'Y', '7267', 'A', '9997', '891', '5033', '4581', 'a', 'Y', 'x']

Y, a, 4581, 5033, 891, 9997, A, 7267, Y, f, H, c, L, o, m, k