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: 2, 2, ['Q', 'i']
Example Output: i

Example Input: 9, 14, ['5817', 'R', '3433', '5861', 'T', '2145', '1187', 'S', 'j', '9371', 'q', 'N', '6879', 'J']
Example Output: j, 9371, q, N, 6879, J

Example Input: 2, 3, ['1675', '3013', 'M', 'O', '795', '7935', 'W', '9107', 'B']
Example Output:
3013, M