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: 5, 6, ['H', '8699', 'C', 'P', '191', 'H', '2259', '1041', 'a', 'x', 'm', '1789', '6881', 'b', '8857', 'b', '6063', 'w', '6439', '1635', 'e', '8511', 'q', 'a', '2533', 'r', 'Z', '1099', 'D', 'U']

191, H