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, 5, ['f', 'l', 'z', 'J', 'K', 'P', '4595']

A: f, l, z, J, K
****
Q: 3, 20, ['5263', '8553', '1261', 'p', '1617', 'O', 'z', '5133', 'I', '9405', '5847', '8141', '6337', 'p', '9475', 'h', 'f', 'L', 'n', 'f', 'o', '9437', 'h', '1037', '2427', 'm', '7001', 'y', 'w']

A: 1261, p, 1617, O, z, 5133, I, 9405, 5847, 8141, 6337, p, 9475, h, f, L, n, f
****
Q: 1, 2, ['f', '171', '8559', 's']

A:
f, 171
****