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: 9, 22, ['503', '251', 'L', '7153', 'd', '5305', 'p', 'u', 'P', 'A', 'I', '2021', '3975', '1487', '6909', 'O', '837', '8917', '7543', 'e', '9683', 'H', 'p', '7891']

H, 9683, e, 7543, 8917, 837, O, 6909, 1487, 3975, 2021, I, A, P