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: 6, 23, ['4001', '2853', 'i', '7773', '6665', 'G', '1193', '4877', '6109', 'D', '813', '5091', 'q', '4211', '9545', '4661', '6363', 'D', '3701', '6423', 'p', '753', '5091', 'e', '1397', 'E']

5091, 753, p, 6423, 3701, D, 6363, 4661, 9545, 4211, q, 5091, 813, D, 6109, 4877, 1193, G