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, 6, ['1147', '3465', 'A', 'L', '1215', 'q', '2511', '7489', '2085', 'I', 'C', 'U', '8699', 'e', 'D', 'h', '5773', '6545', 'j', '3573']

1215, q