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: 7, 10, ['5385', '6341', 'j', 'V', '3923', 'B', 'E', '2071', '3393', 'Q', '2667', '1959', '6435', '307', '8413', '2705', 'y', 'H', '4015', 'E', '9523', '3221', 'p']

E, 2071, 3393, Q