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.

[EX Q]: 5, 6, ['O', 'F', 'x', '7959', '5027', '4231', 'z', '2977', 'N']
[EX A]: 5027, 4231

[EX Q]: 5, 10, ['E', 'n', '6501', 'A', '2443', 'c', '6405', '3773', '8897', '3177', '9023', 'm', 'y', '743', 'W', 'V', 'y']
[EX A]: 2443, c, 6405, 3773, 8897, 3177

[EX Q]: 4, 12, ['t', 'J', 'a', 'M', '1037', '3405', 'T', '687', '4905', 'S', 'l', '403', 's', 'q', 'q', 'y', 'L', 'm', '7239', 'y']
[EX A]:
M, 1037, 3405, T, 687, 4905, S, l, 403