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: 9, 20, ['D', '5669', 'J', 'I', 'h', '9727', 'd', '8945', '5683', '9407', '8027', '2213', '8515', '7757', '8097', '5083', 'u', '1563', 'f', '7795', 't']
Example Output: 5683, 9407, 8027, 2213, 8515, 7757, 8097, 5083, u, 1563, f, 7795

Example Input: 6, 16, ['149', 'm', 'B', '1195', '7629', 'q', '8941', 'u', '7053', '9715', '1475', 'q', 'l', 'q', 'Q', 'f', '397', 'G', 'D', '9529', 'N', 'a', 'u', '811', 'y']
Example Output:
q, 8941, u, 7053, 9715, 1475, q, l, q, Q, f