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, 21, ['P', 'D', 'N', 's', 'D', 'f', '2257', 'l', 'O', 'F', 's', '6977', 's', '3081', '9719', 'Q', 'u', 'q', 'A', '2387', '3343', 'C', '5549', '6877', 'a', '1989']

3343, 2387, A, q, u, Q, 9719, 3081, s, 6977, s, F, O, l, 2257, f, D, s