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, ['B', '8347', '19', '811', '2127', '5421', 'Q', '7737', '2515', 'E', 'w', '4597', 'h', '3561', '2083', '8251', '6909', 'm', '4167', 'g', 'U', 'a', 'G', '7573', '4045']

2127, 5421