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: 7, 20, ['D', 'E', 'B', '3951', 'A', '3693', '733', 'i', 'Q', 'E', '363', '6609', '915', '8271', 'r', 'i', 'E', 'F', 'r', 'n']

n, r, F, E, i, r, 8271, 915, 6609, 363, E, Q, i, 733