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: 4, 5, ['Q', 'X', 'T', '5809', '2821', 'y', '1323', '9853']

A: 5809, 2821
****
Q: 4, 19, ['C', 'B', 'u', 'B', '3119', '2779', 'J', '7811', '2697', 'h', 'Y', '6595', 'B', 'x', 'c', 'A', '6859', '1959', 'l', '2539', 'o', '8797', '3787', '7077', '9763', 'A', '6415']

A: B, 3119, 2779, J, 7811, 2697, h, Y, 6595, B, x, c, A, 6859, 1959, l
****
Q: 1, 3, ['Q', 'N', 'O']

A:
Q, N, O
****