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: 8, 12, ['J', '2877', '8949', 'k', 'V', '849', '9421', '8341', 'M', '3179', 'I', '2557', 'H', 'g', 'I', '4709', '2163', '2513', 'M', '711', '729', 'z', 'l', 'v']

A: 8341, M, 3179, I, 2557
****
Q: 1, 7, ['g', '8661', '8669', '9009', '8163', 't', '3907', '5713', '9779', '157', '6175', 'v', 'F', 'v', '6393', 'D']

A: g, 8661, 8669, 9009, 8163, t, 3907
****
Q: 4, 5, ['5901', 'K', 'J', 'h', '8153', '9639', '551']

A:
h, 8153
****