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, 3, ['m', 'l', 'z', 'L', '4787', '8307', '2223', 'i', '3657', 'h', 'B', 'i', '9299', '6443', '3923', '297', '4201', 'C', 'R', 'q', 'W', 'm', 'F', 'R', '7703', 'F']

m, l, z