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, 16, ['1671', '1597', '1047', 'o', '1085', '4853', '8705', '8753', 'W', 'u', '7177', '9039', '5389', 'l', 'i', '2627', 'k', 'c', 'Y', '6037']

1047, o, 1085, 4853, 8705, 8753, W, u, 7177, 9039, 5389, l, i, 2627