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: 17, 22, ['2499', '7935', '7097', 'T', '2791', '633', '6759', '7927', 'b', '9945', 'M', 'A', '5485', 'j', '5303', '7065', '6549', 'M', 'G', '5107', '1251', 'j', '4413', '6559']

j, 1251, 5107, G, M, 6549