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: 1, 22, ['c', '2145', 'c', 'c', 'Z', 'd', '1493', '8063', '835', 'q', '3973', '5169', 'O', 'X', 'y', '2601', '3153', 'u', '265', '6581', '6809', 'R']

R, 6809, 6581, 265, u, 3153, 2601, y, X, O, 5169, 3973, q, 835, 8063, 1493, d, Z, c, c, 2145, c