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, 9, ['Q', 'C', '3243', 'z', '4797', '9631', '499', 'L', 'T', '2317', '5063', '4105', '3087', '1311', '5385', '7697', '4761', '6459', '1517', 'J', 'y']

Q, C, 3243, z, 4797, 9631, 499, L, T