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: 1, 11, ['839', '797', '2893', '2973', 'f', 'e', '6949', '8577', '4695', 'j', '3527', 'l', '7915', 'A', '5161', '5193', '7641', 'N', '2363', 'T', '5319', '7485', 'G', 'm', '6455', 'X', 'f', 'Y', '4511', '4975']

839, 797, 2893, 2973, f, e, 6949, 8577, 4695, j, 3527