You will be given a definition of a task first, then some input of the task.
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.

4, 4, ['o', '9587', '9219', '3371', 'x', 'N', '2595', '5105', '2759', 'm', '8319', '7663', '8721', '9485', 'q', '889', '995', '5905']
Output:
3371