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: 17, 18, ['305', '5045', '9119', '9113', '2743', '7075', '8055', 'P', '8239', '5483', 'a', '7173', 't', '6559', 'Y', '4547', '6117', 'X', '3423', '4845', '3189', '4555', '4103', 'r', '3649', 'D', 'l', 'H', 'E']

X, 6117