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: 23, 29, ['K', '729', 'g', 'W', 'M', 'b', '3849', '3529', 'D', 'e', '9517', '8975', '429', 'e', 'k', '5685', '5307', '3315', 'M', 'n', 'K', 'K', '4557', '1421', 'j', '9539', '7433', '759', 't', 'M']

4557, 1421, j, 9539, 7433, 759, t