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, 25, ['l', '2103', '7271', 'g', '5207', 'D', '4225', '3353', 'x', '7757', 'o', '4497', '2709', 'x', 'F', '729', '367', '4599', '8953', '6649', '8707', '5593', '9043', '6257', 'U', 'I', '7077', '4469', '4255', '1965']

U, 6257, 9043, 5593, 8707, 6649, 8953, 4599, 367, 729, F, x, 2709, 4497, o, 7757, x, 3353, 4225, D, 5207, g, 7271, 2103