Definition: 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.
Input: 15, 18, ['h', '2635', '459', 'q', 'J', '5423', 'U', 'G', '5093', 'J', 'Q', 'B', 'H', 'U', 'H', '9821', 'E', '8783', 'X', 'y', 'e', '5005', 'G', 'w', 'N', 'm', '9325', 'F', 'q', '2607']

H, 9821, E, 8783