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: 22, 23, ['q', 'd', 'M', '9669', 'w', 'l', '6719', '9501', '3277', 'G', 'F', '5459', '8347', 'R', 'R', '4609', '1185', '3305', 'A', '1891', '5175', 'I', 'W', '4315', '9867', '4167', 'p']

W, I