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, 27, ['P', '8079', 'J', '97', '5765', '3389', 'x', '5785', '3739', 'y', '3185', '7661', '5411', 'A', '5113', '6395', '5703', 'h', '731', '2773', 'f', 'O', '2509', '749', 'R', '8151', '9981', 'X', '4419']

9981, 8151, R, 749, 2509, O, f, 2773, 731, h, 5703, 6395, 5113, A, 5411, 7661, 3185, y, 3739