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: 5, 24, ['E', 'm', '9821', '4239', 'i', '3259', '4467', 'D', '4817', 'a', '4437', 'G', '355', '7829', 'F', '1019', 'G', 'R', '8361', 'y', '2101', '7833', '5143', 'Q', 'E', 'L', 'j']

Q, 5143, 7833, 2101, y, 8361, R, G, 1019, F, 7829, 355, G, 4437, a, 4817, D, 4467, 3259, i