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, 17, ['d', 'k', 'J', '5301', 'v', 'b', 'c', 'D', '5743', '3945', '5727', '8711', '5501', 'i', '9791', '5427', 'E', '4551', '3527', '5263', '5471', 'f', 'V', '4533', '1311', 'V', '9551', '7039']

E, 5427, 9791, i, 5501, 8711, 5727, 3945, 5743, D, c, b