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, 20, ['V', '8269', 'E', '4833', '9413', 'Y', '6069', 'g', 'D', '2821', 'o', '5863', '4407', 'L', 'G', '2891', 'Q', 'E', 'M', '6629', '7193', '7539', '5681', 'k', 'B', 'c', '5281']

Q, E, M, 6629