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.

Example Input: 4, 5, ['Q', 'X', 'T', '5809', '2821', 'y', '1323', '9853']
Example Output: 5809, 2821

Example Input: 12, 15, ['E', '3169', 'i', 'i', 'a', 'B', 'w', '1847', 'P', '3261', '9951', 'n', 'T', 'S', 'N', 'z', 'r', 'y', '7279', '6299', 'D', '4279', '3179', '6991', 'v', '5821']
Example Output: n, T, S, N

Example Input: 1, 2, ['5931', 'H', 'C', 'u', '4319', '9307', '3985', '9109', '183', 'k']
Example Output:
5931, H