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. 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, 16, ['6957', '9555', 'x', '1265', '3347', '4935', 'Y', 'O', '7615', 'l', '2565', '9641', '9445', 'Q', 'y', 'd', 'A', 'U', 'B', '6761', 'b', 'O', 'V', 'a', 'B', '3805', '3111', '6495', '6439', 'w']
Output:
3347, 4935, Y, O, 7615, l, 2565, 9641, 9445, Q, y, d