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: 20, 24, ['8947', 'D', 'w', 'r', 'D', '1275', 'N', 'K', '9505', '3733', '7199', 'q', 'F', '8153', '9223', 'i', 'g', '8999', 'e', 'j', '9649', '4977', '8703', '563', 'y', '7703', '6595', '7369', 'G', '5697']

563, 8703, 4977, 9649, j