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: 21, 22, ['X', '5639', '8469', '1589', '4673', '8615', '4317', 't', 'M', 'U', '1031', '5135', 'h', 'x', 'k', '8839', 'e', 'S', '8941', 'W', 'X', 'f', '2711', 'J', '5607', 'f', 'M', 'C']

f, X