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: 2, 3, ['H', 'R', '6661', 'j', 'y']
Example Output: R, 6661

Example Input: 4, 19, ['L', 'G', 'N', 'K', 'x', 'j', '1541', '599', 'm', '7443', '7587', 'p', 'p', '3433', '9607', '9963', 'K', '1933', '2227', '6975']
Example Output: K, x, j, 1541, 599, m, 7443, 7587, p, p, 3433, 9607, 9963, K, 1933, 2227

Example Input: 1, 7, ['J', '5723', '5809', '5269', 'I', 'L', 'l', '7995', 'P', '4983', 'X', 'V', '783']
Example Output:
J, 5723, 5809, 5269, I, L, l