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, 4, ['2787', 'k', '6441', '4061', 'A', 'e', 'O', 't', 'B', '9791', 'Z', 'W', '8157', 'b', '7573', 'F', 'O', '4169', '7039', '5561', 'g', 'h', 'Y', 'O', 's', '8269', 'v', '9179', '9']

4061, 6441, k, 2787