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: 1, 16, ['o', 'v', '8297', 'i', '8559', 'B', 'j', 'g', '7321', '6721', 'G', '6473', 'l', 'B', '7153', 'x', 'z', '3183', 'l', 'Q', 'r']
Example Output: o, v, 8297, i, 8559, B, j, g, 7321, 6721, G, 6473, l, B, 7153, x

Example Input: 16, 17, ['L', 'C', 'z', 'n', '3549', 'X', 'Z', 'b', 's', '7145', 'Z', '2775', 'o', '8523', 'c', '9167', 'm', 'Z', '1743', '3309', '451', 'V', 'G', 'E', 'o', '7631', '9769']
Example Output: 9167, m

Example Input: 3, 9, ['w', '5085', 'M', 'B', 'J', 'F', '2885', 't', '3683', '1829', '3329', '7919', 'G']
Example Output:
M, B, J, F, 2885, t, 3683