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: 1, 21, ['2649', '9395', 'q', 'y', 'o', '4257', 'L', 's', '5759', '7491', '6423', '1859', '3275', '3269', '165', 'N', 'I', '9131', '4533', 'S', '4389', '5047', '6515', '2631', 'M']

2649, 9395, q, y, o, 4257, L, s, 5759, 7491, 6423, 1859, 3275, 3269, 165, N, I, 9131, 4533, S, 4389