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: 5, 24, ['k', 'X', '1439', 'O', 'J', 'N', 'b', 'w', '7717', '4163', '6857', '7023', '4621', '2985', 'P', 'r', '6993', 'R', '3719', 'S', '9359', '9287', '6649', '1813', '845', '6075', 'P', '4319']

1813, 6649, 9287, 9359, S, 3719, R, 6993, r, P, 2985, 4621, 7023, 6857, 4163, 7717, w, b, N, J