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: 8, 9, ['H', '3307', 'm', 'W', 'x', '1271', '4601', 'B', '4015', '3837', 'r', 'G', 'V', 'u', 'H', '2625', 'p', 'N', '2879', '921', 'D', '5189', 'w', '4597', '5973', '9111']

B, 4015