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: 5, 9, ['3445', 'C', '1569', '6897', '1777', '4857', 's', 'a', '7767', '7625', 'S', '6495', 'F', '5337', '2971', 'Y', 'U', '6529', '1451', '7137', '5969', 'E', '6917', 'P', '7809', 'p', 'b', 't', '5513']

7767, a, s, 4857, 1777