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: 17, 23, ['D', 'j', 'h', '3061', '421', '2293', '3137', 'y', '6747', 'R', 'I', 'Q', 'H', '3513', '4803', 'L', 'y', 'C', 'E', '6869', '6349', 'd', 'f', 'X', '2679', 'M', '2477', '4569']

y, C, E, 6869, 6349, d, f