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.

6, 8, ['J', '7819', '8775', 'Q', '9771', 'i', 'g', 'U', '2101', '6573', '8727']
i, g, U

6, 8, ['3379', '1063', 'i', '7913', 'W', '1773', '9507', 'x', 't', 'U', 'C', '1123', '4027', '7279', 'L']
1773, 9507, x

10, 22, ['9191', 'B', 'q', '6813', '4217', 'M', '9183', '5531', 'f', '659', 'M', '9611', '229', '1', 'm', '4795', '1687', 'E', 'O', 'N', '3439', '7365', 'A', '6893', 'j', '4603', 'Y', '9579', '8495']

659, M, 9611, 229, 1, m, 4795, 1687, E, O, N, 3439, 7365