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, 15, ['2127', '4631', 'j', '65', '1903', '2853', 'p', '1647', '897', 'y', 'A', '6669', 'G', 'a', '5195', '6323', 'D', '1551', '4637', '1067', 'r', 'm', '8761', '857']

2853, p, 1647, 897, y, A, 6669, G, a, 5195