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: 6, 22, ['H', '5007', '5097', '7191', 'M', 'B', '8871', '3591', 'B', 'S', '3819', '8443', 'g', '5445', '1173', '1805', '6441', '2989', 'j', '5499', '1061', 'N', '9221', 'D', 'D', 'Y', 'Y', '3369', 'e']

N, 1061, 5499, j, 2989, 6441, 1805, 1173, 5445, g, 8443, 3819, S, B, 3591, 8871, B