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, 10, ['9535', 't', '1529', '6675', '7449', '5709', '4221', '395', '6637', 'D', 'E', '9177', 'x', '6389', '2221', 'L', '7683', '3907', 'S', '7257', '7321', 'v', '5687', 'k', '6431']

5709, 4221, 395, 6637, D