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: 11, 13, ['K', 'U', '977', 'z', '1101', 'r', 'D', '6869', '5499', '2077', '4591', '385', 'f', '1415', '5689', 'g', 's', '3319', 'S', '9881', 't', '1989']

4591, 385, f