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: 3, 7, ['s', 'Z', '3097', '2971', 'P', 'W', 'w', 'o', '2415', 'n', '2399', 'L', '9121', '191', '6747', '1757', 'b', '6871', 'x', '707', '3771', '8409']
Example Output: 3097, 2971, P, W, w

Example Input: 9, 17, ['n', 'S', '2183', 'e', '3605', '1049', '741', 'O', 'm', '5237', 'C', '1055', '2723', 'J', 'M', '7985', 'R', '5721', '1657', '6269', 'W', 'D', 'f', 'g']
Example Output: m, 5237, C, 1055, 2723, J, M, 7985, R

Example Input: 2, 2, ['457', '4713', 'f', 'P', '9021', 'o', 'L', 'd', 'c', '6733']
Example Output:
4713