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: 6, 11, ['M', 'Z', '9777', '2325', '8665', '6463', 'A', 'Q', 'b', '9715', '3079', 'G', '9691', 'Y', '8365', '2307', '4395', 'F', '9653', '7371', '1715', 'h']

6463, A, Q, b, 9715, 3079