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, ['3901', '6517', '8861', 'k', '2517', '1147', 'F', '2067', 'J', 'z', 'c', '6031', '5063', 'e', '6585', '2919', 'm', 'W', '2999', '1625', 'r', '3095', 'n', '5623', 'T', 'q', 'D', 'f', '8707']

3901, 6517