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: 7, 19, ['X', '5913', '6285', '3831', 'u', '8029', '3679', 'B', 'w', 'H', '1733', '3051', 'd', '8955', '3291', 'O', 'X', '6555', 'g', '2985', 'K', 'v']

g, 6555, X, O, 3291, 8955, d, 3051, 1733, H, w, B, 3679