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: 6, 19, ['1831', 'o', 'W', 'Q', 'g', 'L', '5685', '7675', '7619', '323', 'F', 'M', 'K', 'j', 'S', '7129', 'R', 'L', '3855', '6235', 'C', 'p', '261', 'l']

L, 5685, 7675, 7619, 323, F, M, K, j, S, 7129, R, L, 3855