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: 2, 15, ['6869', 'X', '829', '6101', 'g', 'e', '6611', '3817', '8775', '6177', 'z', '4245', 'k', '7229', '8757', 'W', 'G', 'e', '2113', 't', '4985', '8841', 'P', 'G']
Example Output: X, 829, 6101, g, e, 6611, 3817, 8775, 6177, z, 4245, k, 7229, 8757

Example Input: 2, 6, ['4537', 'N', 'I', '2507', '1039', 'H', '8913']
Example Output:
N, I, 2507, 1039, H