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: 2, 11, ['9551', 'a', 'F', 'X', '991', '7077', '8953', 'A', '307', '843', '8289', '8115', '3527', '365', 'r', '8245', '3', '7291', '4711', '2543', 'z', 'J', 'A', '1505']

a, F, X, 991, 7077, 8953, A, 307, 843, 8289