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: 16, 18, ['E', '4571', 'P', 'r', '4065', '9373', 'Y', '6435', '2913', 'r', 'g', 'x', 'l', '4765', 'e', 'N', '61', 'p', 'o', 'M', '5851', 'g', 'h', '2327', '8461', 'M', '9679']
Example Output: N, 61, p

Example Input: 1, 3, ['349', 'H', 'p', '5283']
Example Output: 349, H, p

Example Input: 10, 19, ['8225', '93', 'S', '2529', 'c', 'n', '9405', '3015', '9921', '7947', 'e', '8631', '8113', 'J', 'r', '6577', '5073', 'h', 'o', 'Z', '5493', '1689', 'e', '9981', '785', '2083', '4933']
Example Output:
7947, e, 8631, 8113, J, r, 6577, 5073, h, o