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, 3, ['h', 'z', 'X']

A: X
****
Q: 1, 10, ['8507', 'V', '9751', '8259', '9221', '4953', 'a', 'w', '7867', 'K', '1565', 'x']

A: 8507, V, 9751, 8259, 9221, 4953, a, w, 7867, K
****
Q: 2, 6, ['2853', '4075', 'S', '7279', '2891', 'i', 'T', 'e', '7581', 'N', '4609', 'p', '9337', '8861', 'm', '2325', '5025']

A:
4075, S, 7279, 2891, i
****