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.

Q: 15, 22, ['9071', 'X', 'u', 'o', 'J', '6443', '7525', '8511', 'Z', 'G', '8129', '2245', '5053', '8985', '5097', 'I', 'h', 'E', 'x', '1919', '8281', '5625', '3059', 't', 'h']

A: 5097, I, h, E, x, 1919, 8281, 5625
****
Q: 15, 18, ['4431', 'M', 'X', '7439', 'E', 's', 'S', 'h', '1715', '6887', 'f', '2365', 'F', '8865', '2153', 'N', '2243', 'N', '2223', '7033']

A: 2153, N, 2243, N
****
Q: 7, 14, ['s', 'G', '4087', 'r', 'U', '8343', '3465', '1011', '6643', '8873', '5603', 'P', '4721', '7813', '4227', 'u', 'z', '3991', '9749', '4529', '4309', '2993']

A:
3465, 1011, 6643, 8873, 5603, P, 4721, 7813
****