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: 13, 22, ['A', 'J', '9069', 'u', 'm', 'U', '4709', '3731', '5179', 'a', 'K', 'E', 'p', '9689', 'C', '6727', '1615', 'a', 'Q', '2977', 'n', '5419', '9679', '3007', '1499', 'W', '2695']

p, 9689, C, 6727, 1615, a, Q, 2977, n, 5419