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.

3, 7, ['e', '9227', 'M', '7421', 'j', 'D', '2007', 'W', '4425', '825', '1739', '8957', '4647', 'o', '2189', 'J', '7979', '9553', '4037', 'j', '7997', 'u', 'o', '9753']
Output:
M, 7421, j, D, 2007