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: 4, 8, ['N', 'B', '3033', '1285', 'G', 'g', 'y', '9621']

A: 1285, G, g, y, 9621
****
Q: 2, 11, ['e', 'J', '6281', '1357', 'r', 'v', '5941', '175', '7527', '3315', 'z']

A:
J, 6281, 1357, r, v, 5941, 175, 7527, 3315, z
****