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: 11, 15, ['2849', '7951', '445', 'b', '769', '47', '1567', 'e', '6259', 'z', '6589', '2945', 'x', 'j', 'd', '3181', '509', '9119', 'M', '6963', 'o', '6055', '6327', 'Y', '879', 'n', '683', '8741', 'q', '695']

6589, 2945, x, j, d