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: 24, 26, ['R', '6715', 'h', 'e', '5401', '5675', 'f', 'v', '1197', '1239', '4369', 'y', 'J', 'z', '5409', 'P', 'a', '4803', 't', '6597', 'h', '565', '8871', '5913', '7221', '2683', 'q', '4301', 'Z']

2683, 7221, 5913