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: 16, 22, ['8223', 'N', '6749', '1171', '9811', 'y', '2299', 'n', '1585', '2149', 'G', '6321', 'A', 'w', 'C', 'r', '3679', 'm', '7033', '9525', '3283', '9287', 't', 'I', '6777', '2591', 'j', 'i']

9287, 3283, 9525, 7033, m, 3679, r