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, ['5579', '4291', '1649', 'S', 'w', '3039', '3373', '1317', 'B', 'r', 'G', '6551', '6263', '643', '2453', 'r']
Example Output: 4291, 1649, S, w

Example Input: 2, 3, ['C', '3219', '5839']
Example Output: 3219, 5839

Example Input: 3, 5, ['x', '2291', '4717', '3903', 'p', '2857']
Example Output:
4717, 3903, p