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: 12, 12, ['p', 'L', 'u', '5987', 's', 'L', '4699', 'c', 'p', '485', 'S', '4893', '3695', '5849', 'b']

A: 4893
****
Q: 1, 11, ['U', 'O', '9407', '3655', '5839', 'M', '5181', '943', 'w', '9009', '6375']

A: U, O, 9407, 3655, 5839, M, 5181, 943, w, 9009, 6375
****
Q: 6, 12, ['7991', 'g', '3565', 'q', 'L', '331', '4565', '1837', '4903', '9897', 'n', 'T', 'S', 'F', 'M', 'R', 'R', '4681']

A:
331, 4565, 1837, 4903, 9897, n, T
****