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]: 1, 4, ['7495', 'B', 'I', 'I', '3881', '8475', '4143', 'y', '9017', '4723', '77']
[A]: 7495, B, I, I


[Q]: 2, 2, ['8743', '7959', '6353', '1977']
[A]: 7959


[Q]: 16, 23, ['2961', '1189', 'Z', '6329', 'T', '163', 'k', 'N', 'E', 'h', '4145', 'o', 'q', 'Y', '4815', 'M', 'b', 'z', 'o', '4343', '4149', '9561', 'y', 'd', 'B', '9947', '8369', '5843', '2829', 'S']
[A]:
M, b, z, o, 4343, 4149, 9561, y