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, 25, ['X', '1879', 'X', 'h', '3467', 'K', 'K', 'v', '2403', '343', 'k', 't', '583', '5265', '5409', '5965', '67', '6461', 'p', 'o', 'w', '6395', 'j', '4397', '731']

731, 4397, j, 6395, w, o, p, 6461, 67, 5965, 5409, 5265, 583, t, k, 343, 2403, v, K, K