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: 6, 8, ['I', '2759', 'E', 'J', 'H', '3725', '3917', 'l', '2911', '9951', '327', '2705']
Example Output: 3725, 3917, l

Example Input: 25, 30, ['685', '4675', '6045', '7655', '399', 'U', '9257', 'e', '1485', 'R', '7825', 'z', '6283', 'r', '7181', '2385', '5095', '7039', 'Y', 'G', '2215', '5045', '7335', 'J', '2905', 'p', '4385', '1165', '2701', 'E']
Example Output: 2905, p, 4385, 1165, 2701, E

Example Input: 2, 3, ['P', 'L', '1271', 'y']
Example Output:
L, 1271