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: 17, 22, ['Y', '7469', '7741', '3971', 'X', '7841', '8457', 'a', '7789', 'l', '5831', 'f', 'f', '7829', 'c', '2127', '6197', '8517', '2115', 'Q', '6785', '5685', 'W']
Example Output: 6197, 8517, 2115, Q, 6785, 5685

Example Input: 5, 20, ['2851', 'b', '2281', 'x', 'p', 'V', '2403', '8527', '1891', 'p', 'x', 'c', '4819', 'o', '1849', '2111', 'a', '8403', 'x', '6153', '6539', '6411', 'Q', '1743', '7437', '5889', '8455', '853', 'Q']
Example Output: p, V, 2403, 8527, 1891, p, x, c, 4819, o, 1849, 2111, a, 8403, x, 6153

Example Input: 12, 13, ['3007', 'c', '4829', 'H', 'k', 'K', 'q', 'S', 'x', '1255', '7279', 'p', 'B', '8843', 'P', 'u', '2333', 'q', '8455']
Example Output:
p, B