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: 10, 16, ['6853', 'G', 'O', '1401', '3435', 'x', '9541', 'K', '585', '9001', '1609', '2121', 't', 'y', 'g', 'o', 'i', 'X', '4865', 'r', 'O', '2149', '837', 'm', '3977', '6801']

9001, 1609, 2121, t, y, g, o