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: 10, 21, ['8345', '6465', 'Q', '5991', 'e', 'e', 'g', 'S', '5905', '1259', '2373', '9597', '6107', '8865', '7963', 'j', '2919', '2735', '5637', '1411', 'M', 'b', 'q', '4643', '9629', 'y', 'c', 'C']

1259, 2373, 9597, 6107, 8865, 7963, j, 2919, 2735, 5637, 1411, M