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: 2, 6, ['F', '6785', '3699', 'U', '2823', '4397', 'z', 'x', 'd', '6389', 'r', 'd', '5971', '9047', 'b', 'P', '2361', 'b', 'P', 'a', '9049']

4397, 2823, U, 3699, 6785