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.

[Q]: 4, 8, ['Z', 'W', 'd', '789', 'q', 'I', '5149', 'J', '73']
[A]: 789, q, I, 5149, J


[Q]: 3, 3, ['229', '2147', 'r']
[A]: r


[Q]: 1, 1, ['1255', '6189']
[A]:
1255