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, ['m', '9841', 'p', 's']
Example Output: m, 9841

Example Input: 6, 18, ['e', 'b', 'b', 'Y', 'W', 'a', 'j', 'R', '4289', '9911', '6957', 'a', '7123', 'N', 'U', 'K', 'u', 'F', 'h', '6551', 'g', '4215', 'g', 'l', '9505']
Example Output: a, j, R, 4289, 9911, 6957, a, 7123, N, U, K, u, F

Example Input: 11, 12, ['h', 'Z', 'M', '6699', '4541', '8085', 'a', 'a', 'b', '8001', '2429', 'X', '9005', '8703', '8359', '245', '2621', '1459', 'T', 'R', '3511', 'B', 'E', '2191', 'B', 'Z', '6061', '5801']
Example Output:
2429, X