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, 18, ['E', '4571', 'P', 'r', '4065', '9373', 'Y', '6435', '2913', 'r', 'g', 'x', 'l', '4765', 'e', 'N', '61', 'p', 'o', 'M', '5851', 'g', 'h', '2327', '8461', 'M', '9679']
Example Output: N, 61, p

Example Input: 1, 4, ['V', 'D', '8517', '8129', '8905', '1101', '6035', 'E', 'h', '5693', 'p']
Example Output: V, D, 8517, 8129

Example Input: 5, 16, ['981', '5063', 'm', 'K', '9111', 'B', 'l', '2473', 'R', 'x', 'd', '1373', '5863', 'V', 'b', 'O', '5727', '8103', 't', '915', 'Q']
Example Output:
9111, B, l, 2473, R, x, d, 1373, 5863, V, b, O