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: 9, 17, ['n', 'S', '2183', 'e', '3605', '1049', '741', 'O', 'm', '5237', 'C', '1055', '2723', 'J', 'M', '7985', 'R', '5721', '1657', '6269', 'W', 'D', 'f', 'g']

A: m, 5237, C, 1055, 2723, J, M, 7985, R
****
Q: 2, 5, ['a', '6307', 'J', 'h', 'B', 'n', 'l', '1139', '3549', '3575', '2753']

A: 6307, J, h, B
****
Q: 11, 22, ['5097', 'B', 'P', '2875', '4083', 'n', '6731', 'b', 'o', '9479', '2003', '7141', '203', '5411', 'j', '9077', '8767', 's', '1291', 'N', '7587', '7053', '8391', 'z', '1643']

A:
2003, 7141, 203, 5411, j, 9077, 8767, s, 1291, N, 7587, 7053
****