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]: 1, 5, ['3031', 'E', '3661', '4505', 'l', 'Q', '4515']
[EX A]: 3031, E, 3661, 4505, l

[EX Q]: 8, 10, ['9263', '3475', '1417', '3331', '6913', 'y', 'k', 'P', '5121', 'g']
[EX A]: P, 5121, g

[EX Q]: 1, 2, ['5831', '771', 'y']
[EX A]:
5831, 771