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.

Example Input: 16, 19, ['W', 'E', 'H', 'p', 'h', '5553', 'K', 'i', '7251', '1577', 'W', 'S', 'p', 'k', 'E', '9805', '5399', 'p', 'k']
Example Output: 9805, 5399, p, k

Example Input: 3, 8, ['a', 'W', 'i', '3623', 'K', 'x', '3121', '7227', 'N', 'A', 'W', '4863', '4127']
Example Output: i, 3623, K, x, 3121, 7227

Example Input: 5, 17, ['9993', '439', '1131', 'W', '2141', '6763', '9487', '6101', '9601', 'S', '6411', '8253', '9449', '3567', 'y', 'a', 'q', '8719', 'y', 'z', 's', '5935', 'e', 'U', '5499', '9085', 'g', 'm', 'N', 'k']
Example Output:
2141, 6763, 9487, 6101, 9601, S, 6411, 8253, 9449, 3567, y, a, q