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, ['9833', '819', '7955', 'e', '7649', '8827', '2309', '2949', '9361', '47', '8007', '5797', '3015', 'c', '2411', '9277', '8477', '1219', 'M', '3827', 'G', '7469', '3947', '8629', '6013']

7649, 8827