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: 6, 24, ['j', 'P', 'A', 'I', 'o', 'K', '3599', 'F', '3079', '3937', '643', 'i', 'C', 'X', '6117', 'j', 'R', 'c', '7067', 'X', '107', '3797', 'x', '3009', '983', 's', '3129', 'F', 'n', 'r']

3009, x, 3797, 107, X, 7067, c, R, j, 6117, X, C, i, 643, 3937, 3079, F, 3599, K