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, 2, ['6249', 'Y', '4837', 'y', 'M', '7827', '3815', 'R', '3163', '6275', '6405', 'a', '3779', 'O', '4799', '8725', 'o', '7187', 'q', 'l', '6761', 'V', 'q', 'k', 'D']

6249, Y