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: 9, 23, ['8125', '3285', 'P', '4727', '7965', '1807', 'm', '2561', 'Z', '5813', 'i', '8941', 'W', 'D', 'h', 'L', '6803', '8661', 'S', '7635', 'j', 'p', '8777']

8777, p, j, 7635, S, 8661, 6803, L, h, D, W, 8941, i, 5813, Z