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: 1, 2, ['2017', 'y', 'n', '9173', 'f']
Example Output: 2017, y

Example Input: 9, 16, ['5285', 'F', 'n', 'w', 'v', '3173', '1041', '5337', '4297', '3547', '8777', '1789', 'Y', '5615', '227', 'X', 'Q']
Example Output: 4297, 3547, 8777, 1789, Y, 5615, 227, X

Example Input: 1, 5, ['2861', '3139', 'a', 'Z', '959', '5523', 'u', 'G', 'V', '1741', '3807', 'z', 'K', '5611', '8983', 'X', '8519', '6891', 'n', '7439', 'N', '3019', 'U', '6533', 'G', 'j', 'u', 'a', 'B', '3943']
Example Output:
2861, 3139, a, Z, 959