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: 16, 18, ['E', '4571', 'P', 'r', '4065', '9373', 'Y', '6435', '2913', 'r', 'g', 'x', 'l', '4765', 'e', 'N', '61', 'p', 'o', 'M', '5851', 'g', 'h', '2327', '8461', 'M', '9679']

A: N, 61, p
****
Q: 7, 16, ['5597', '8527', '5339', '9853', 'K', '1345', 'U', '8801', '295', '8071', 'G', 'b', 'i', '4769', 'Y', 'N', '7641', '7357']

A: U, 8801, 295, 8071, G, b, i, 4769, Y, N
****
Q: 4, 5, ['9599', 'D', '7021', '5831', '8281', 'B', 'S', '8911', 'K', '4879', '6613', 'v', '1699', 'J', 'z', 'W', 'Z', 'C', '2057', '2887']

A:
5831, 8281
****