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: 1, 5, ['m', 'J', '5017', '4143', 'k', '1161', '2783', '647']
Example Output: m, J, 5017, 4143, k

Example Input: 2, 2, ['S', 'q', '4557', '6269', 'V', 'n', 'f', '8565', 'F']
Example Output: q

Example Input: 2, 18, ['T', 'z', '6027', 'Z', 'I', '561', 'E', 'O', 'b', '3397', '5283', 'Q', '3151', '9615', 'Z', 'L', 'j', '1245', 'u', 'u', 'j', '8915', 'k', 'V', 'g', '2793', '4867', 'o', '8251']
Example Output:
z, 6027, Z, I, 561, E, O, b, 3397, 5283, Q, 3151, 9615, Z, L, j, 1245