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: 3, 17, ['T', '1165', 'a', 'J', 'H', 'I', 'W', '629', 'h', '6257', 'Z', '5775', '6097', '2129', 'j', 'r', 'o', '4885', 'n', '4629']

o, r, j, 2129, 6097, 5775, Z, 6257, h, 629, W, I, H, J, a