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, 22, ['2533', 'g', '9347', '7281', '6119', '223', 'q', 'e', 'o', '4597', 'D', '9859', 'S', 'r', 'W', '7415', '3879', 'X', 'm', '5223', 'j', '5853', '7311', '8539', '6063', 'y', '6295']

5853, j, 5223, m, X, 3879, 7415, W, r, S, 9859, D, 4597, o, e, q, 223, 6119, 7281, 9347, g