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: 9, 19, ['C', '5249', '6261', 'Y', '1503', '6415', 'I', 'g', '3651', 'c', '2423', '8239', 'e', '1033', '1215', '97', '4531', '4005', '8671', '865', 'R', 't', 'k']

3651, c, 2423, 8239, e, 1033, 1215, 97, 4531, 4005, 8671