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: 3, 21, ['2773', '6417', 'C', 'v', '501', '6979', '4217', 'U', 'l', 'F', 'X', 'y', 'k', '5001', 'G', 'Y', '8847', '8747', '5747', 'X', '2421', '6341', '3089', 'L', '1223', 'd']

2421, X, 5747, 8747, 8847, Y, G, 5001, k, y, X, F, l, U, 4217, 6979, 501, v, C