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: 2, 17, ['p', 'S', 'R', 'L', 'k', '4737', '8291', '5993', '3931', 'z', '8721', '4055', 'H', '4693', 'v', 'Z', '9497', 'k', '3733', '7745', '6089', 'Q', 'U', '5945', 'I', 'd', '6793', 'O', 'K', 'Q']

9497, Z, v, 4693, H, 4055, 8721, z, 3931, 5993, 8291, 4737, k, L, R, S