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: 3, 9, ['q', 'b', 'v', 'p', '9653', 'd', '4139', '2671', '8157', 'h', 'B', '6409', '1181', 'E', '3679']
Example Output: v, p, 9653, d, 4139, 2671, 8157

Example Input: 13, 19, ['R', '8473', '519', '2293', '9423', '1917', 'u', 'h', 'w', 'l', 'f', '8667', 'P', 'O', '6919', '5053', '8729', '3209', 'N', '397', 'q', '8763', '8559', 'M', 'Q', '1581', 'N', '3923', 'R']
Example Output:
P, O, 6919, 5053, 8729, 3209, N