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: 4, 21, ['X', 'p', '8155', 'L', '9537', 'J', 'W', 'Z', '5567', '3153', 'd', '8961', '1205', 'r', '1015', 'O', 'u', '3955', '3723', 'J', '315', '6951']
Example Output: L, 9537, J, W, Z, 5567, 3153, d, 8961, 1205, r, 1015, O, u, 3955, 3723, J, 315

Example Input: 13, 22, ['7011', 'F', '251', '2619', 'U', 'X', '9187', 'i', '3525', '2373', '3345', 'g', '7127', 'd', '9329', '5633', 'U', '9147', 'o', '9897', '7127', '9927', '9565', '6093', '2257', 'x', '5133', 'C', '1599']
Example Output:
7127, d, 9329, 5633, U, 9147, o, 9897, 7127, 9927