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: 3, 13, ['D', '2389', 'S', 'C', '1907', '1161', '1197', 'i', '1985', 'v', '8995', 'b', '75', 'e', 'I', '1501', '3017', 'X', 'c', 'c', '6037', '8627', 'D', '1561']

S, C, 1907, 1161, 1197, i, 1985, v, 8995, b, 75