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: 18, 26, ['y', '1909', '8577', 'J', '6221', '2143', '9723', 'h', 'B', '195', '1769', '3651', '7705', '4111', '2313', '2381', 'q', 'q', '3843', 'C', 'F', 'E', '5187', '4503', '4665', '3449', 'S', 'J', 'w', '6347']

q, 3843, C, F, E, 5187, 4503, 4665, 3449