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]: 4, 4, ['215', 'O', 'e', 'S', 'b', '6419', 'T']
[EX A]: S

[EX Q]: 4, 5, ['Q', 'X', 'T', '5809', '2821', 'y', '1323', '9853']
[EX A]: 5809, 2821

[EX Q]: 2, 2, ['5217', '3223', 'X', 'R', '825', 'f', 'Z']
[EX A]:
3223