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, 10, ['y', '6511', 'b', '1605', '137', '583', '4857', '3425', 'G', 'a', 'l', 'p', '2693', '4971', '8277', 'S', '5875', 'D', 'o', 'h', '5551', '5295', 'Z', '9771', '1919', 'c', '773', '197', '7745']

a, G, 3425, 4857, 583