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: 2, 2, ['Q', 'i']

A: i
****
Q: 2, 9, ['O', '6983', 'Q', 'I', '1385', '9449', '2613', 'X', '5743', '3777', '9905', 'G', '2363', 'E']

A: 6983, Q, I, 1385, 9449, 2613, X, 5743
****
Q: 5, 13, ['r', 'u', '3531', '2141', '7825', 'S', 'b', 'c', '5957', 'n', '1451', 'f', 'v', '7879']

A:
7825, S, b, c, 5957, n, 1451, f, v
****