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: 1, 24, ['c', 'j', 'm', 'M', 'J', 'k', '7007', '5945', '3189', '2327', 'D', '7367', 'd', '6305', '8683', 's', '8243', '8547', 'D', 'S', '6203', '2951', '1407', 'N', 'T', 'A', '4585', 'r', '7277']

N, 1407, 2951, 6203, S, D, 8547, 8243, s, 8683, 6305, d, 7367, D, 2327, 3189, 5945, 7007, k, J, M, m, j, c