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: 4, 24, ['1247', '6553', 'd', '2755', '9065', '5729', '787', 'N', '7627', '6379', '313', '7997', '9263', '4535', '1979', '5533', '775', 'O', '9921', 'g', 'W', 'O', 'B', 'w', '7915']

w, B, O, W, g, 9921, O, 775, 5533, 1979, 4535, 9263, 7997, 313, 6379, 7627, N, 787, 5729, 9065, 2755