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: 19, 25, ['f', 'b', 'K', '5907', 'o', 'Z', '9909', 'M', 'j', 'l', '5391', '4455', '6009', '3991', '7611', 'n', 'm', '8755', 'N', '5181', 'I', 'l', '5397', 'S', '4329', '7601']

N, 5181, I, l, 5397, S, 4329