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, ['Q', '557', '3267', '4305', '5047', 'm', '5145', 'w', '6767', '4455', 'k', 'Y', '4663', '4691', '927', 'b', '3547', '4129', '7193', 'c', '2117', '4759', '1875', '4047', 'v', '3693', '7117', '6835', '199']

m, 5145