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, 5, ['d', '877', '5241', '8741', 'N', 'x', '7611', '5519', 'a', 'i', 'R', '8885', 'v', 'Z', 'd', '7173', '4715', 'c', 'Z', '4731', '6277', 'k', 'K', '9003', '1407', 'w', '2339', 'u', 'n', '1351']

N, 8741, 5241, 877