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: 2, 4, ['k', '9749', 'S', '1217', '2519', '4743', '407', '8049', '3143', '2439', '2063', '6835', '8829', '9843', '9441', 'E', '9959', 'd', '3353', 'i', '3247', 'I', '5527', 'j', '5681', '1789']

9749, S, 1217