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: 12, 23, ['q', '1925', 'E', 'N', '2695', 'F', '2695', '2951', '193', 'B', '2413', '7155', '41', 'Z', '1159', 'Q', '8101', '5245', '3885', '5115', 'E', 'F', '3599', 'G']

7155, 41, Z, 1159, Q, 8101, 5245, 3885, 5115, E, F, 3599