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: 3, 8, ['g', 'i', 'G', '5989', '6145', '6791', '8997', '9433', 'H', '139', '5413', '3675', 'H', 'u', '5745', 'W', '1387', 'H', '431', 'h', '1457', 'G', 'x', 's', 'R', '8519', 'L', 'b', 'U']

A: G, 5989, 6145, 6791, 8997, 9433
****
Q: 1, 4, ['3155', 'K', '4549', '5015', '8265', '763', 'v', 'Q', '4695']

A: 3155, K, 4549, 5015
****
Q: 4, 9, ['E', 'V', '3729', 'T', '2421', 'G', '3039', '5149', '8173', '2013', '2791', '2361', '5111', '7237', 'n', '6849', 'V', 'K', '5193']

A:
T, 2421, G, 3039, 5149, 8173
****