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: 1, 2, ['6559', '8981', '363', 'v', 'm', '1641', 'g', '2715', 'Z', '9481', 'v', 'O', '5457', '2497', '7173', 'd', '8287', '4425', '6863', '9359', 'p']

6559, 8981