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: 8, 21, ['5323', 't', 'V', 'E', '1687', '7201', '6141', 'I', 'Y', '5105', '9043', 'Y', '9155', '3839', '8073', 'Q', '765', '781', 'i', 'A', '4107', '8831', 'P', 'M', '7039']

4107, A, i, 781, 765, Q, 8073, 3839, 9155, Y, 9043, 5105, Y, I