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]: 6, 8, ['J', '7819', '8775', 'Q', '9771', 'i', 'g', 'U', '2101', '6573', '8727']
[A]: i, g, U


[Q]: 3, 4, ['7141', 'p', '9571', 'u', 'd', '7337', 'L', '4039', '8423']
[A]: 9571, u


[Q]: 10, 17, ['f', 'o', '4019', 'e', 'p', 'E', 'z', '8069', '1449', 'g', '959', '2033', 'c', 'X', 'c', 'i', '6285', 't']
[A]:
g, 959, 2033, c, X, c, i, 6285