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: 2, 10, ['g', '5001', '4407', '6317', '7907', 'H', 'p', 'S', 'W', '4631', 'R', 'f', 'e', '823', 'd', 'F', 'F', '4877', 'E', '7347', 'I', '8623', 'K', 'a', 'F']

4631, W, S, p, H, 7907, 6317, 4407, 5001