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, 7, ['Y', 'Y', '5593', '1939', '1391', '7301', 'j', '9575', '1461', '9403', 'r', '4003', '1261', '3291', '3327', 'E', '2593', '5341', 'h', '4473', '4515', '3973', 'v', 'e', 'x', '637', 'd']

7301, j