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, 7, ['6905', 'F', '4453', 'Z', 'Q', '1285', '723', 'j', '4299', '9169', '9423', 'v', '3271', '4241', 'w', '3847', 'r', 'C', 'z', '8925', '5605', 'J', 'L', '909']

Q, 1285, 723