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]: 8, 15, ['Y', 'a', '9031', 'X', 't', '3655', 'k', '4947', '2015', '755', 'J', '2975', '5991', '3321', '7117', '3699', '585', '5023', 't', '5573', 'y', 'o', '3453', '1461', '6157', 'm', '7333', 'Y', 'k']
[A]: 4947, 2015, 755, J, 2975, 5991, 3321, 7117


[Q]: 3, 3, ['h', 'z', 'X']
[A]: X


[Q]: 1, 3, ['6247', '6389', 'Z', '4403', '2373', '8109', 'v', '8079', 'U']
[A]:
6247, 6389, Z