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, 21, ['1115', '9257', 'z', 'y', 'F', 'X', '3987', 'P', '2871', '5771', '1501', 'y', 'N', 'D', 'D', 's', '8277', '4493', 'I', '129', '5281', '1841', '7711']

1501, y, N, D, D, s, 8277, 4493, I, 129, 5281