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: 18, 25, ['5741', '4623', 'f', '9699', 'E', '3161', '339', 'Y', 'j', 'e', 'g', '7047', 'd', '4909', 'L', '4593', 'R', 'f', 'v', '5643', '9993', '3167', '8337', 'o', '6017', '9531', '2669', 'R']

f, v, 5643, 9993, 3167, 8337, o, 6017