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, 2, ['Q', 'i']
Example Output: i

Example Input: 15, 17, ['g', 'o', 'B', '3305', '6739', 'l', '4539', '7501', 'B', 'b', 'i', 'r', '4481', 'c', 'H', 'S', '3753', 'E']
Example Output: H, S, 3753

Example Input: 2, 5, ['547', 'q', '2927', '5207', '2949', 'W', 'J', '63', 'j']
Example Output:
q, 2927, 5207, 2949