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: 5, 10, ['K', '7617', 'J', 'Z', '1531', 'k', '6595', 'a', '2275', '2379', '167', '5771', '4019', '7431', 'o', 'd', '7697', '8879', '6703', '2669', 'd', '3335', '5633']

1531, k, 6595, a, 2275, 2379