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, 2, ['3185', 't', 'S', 'W', '4913', 'y']
Example Output: 3185, t

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: 16, 19, ['N', 'C', 'g', '2823', '2273', 'N', 'W', '5177', '7789', '3559', 'O', '3495', '2883', '2275', '2599', '3919', 'x', 'N', '2923', '6145', '7331', '1861', 'X', '6043', '4111', 'P']
Example Output:
3919, x, N, 2923