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, 2, ['g', 'X', 'e', 'x', 'a', '4405', '6531', 'L', '9819', 'Y', 'q', 'v', '455', '1855', '9671', '9421', 'H', '9701', '3543', 'J', '3959', '9547', 'n', '5283']

X, g