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, 5, ['v', '3263', '5135', 'I', 'Y']
Example Output: 3263, 5135, I, Y

Example Input: 1, 1, ['g', 'J']
Example Output: g

Example Input: 4, 5, ['6317', 'V', '3099', 'l', '2967', 'c', 'N', 'f']
Example Output:
l, 2967