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: 8, 10, ['m', '4733', '3177', 'J', 'J', 'X', 'z', 'X', '9245', '5365', '4241', '4183', 'h', '2299', '6519']
Example Output: X, 9245, 5365

Example Input: 2, 3, ['2565', '6991', 'N', 'J']
Example Output: 6991, N

Example Input: 17, 24, ['8005', '5541', 'R', '7085', 'N', '6909', 'C', 'U', 'V', '9109', 'N', 'J', '2535', 'W', 'w', 'N', '575', 'l', 'E', 'q', '7481', 'Y', 'm', 'o', 'l']
Example Output:
575, l, E, q, 7481, Y, m, o