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, 3, ['h', 'z', 'X']
Example Output: X

Example Input: 14, 14, ['3137', 'P', '3437', 'm', '9389', '2291', 'e', '1515', '5251', 's', '1099', 'g', '6545', '2823', '8215', 'Z', 'o', 'x', '6025', '5603', 'A', '1433', '7945', 'x', 'b', 'R', '2905', '3807', '3425', '8067']
Example Output: 2823

Example Input: 10, 13, ['m', '7319', 'G', '783', 'Z', '2571', '1261', '3741', '2953', 'T', '1799', 'K', '7549']
Example Output:
T, 1799, K, 7549