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, 27, ['D', '2131', 'm', 'G', 'n', '9761', 'h', 'r', '6615', '3053', 'H', '2455', 'w', '4775', '4581', 'r', 'X', '791', 'F', 'd', '4475', '9571', 'g', 'U', 'Y', 'R', 'j']

j, R, Y, U, g, 9571, 4475, d, F, 791, X, r, 4581, 4775, w, 2455, H, 3053, 6615, r, h, 9761, n, G, m, 2131, D