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, 12, ['8459', '2571', '9901', '2987', 'y', '2231', '1219', 'N', '509', 'f', '9979', 'a', '3411', '247', '2037', '2003', 'R', '8217', 'E', 'S', '8701', 'r', '1775', 'A', '7583', 'V', 'N', 't', '4419']

2231, 1219, N, 509, f, 9979, a