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: 4, 15, ['d', '4563', '2569', 'o', 'y', '7977', '9307', 'o', '9087', 'O', '3263', 'x', 'I', 'F', 'R', 'o', '3681', '373', '7661', '7825', '8165', '3775']

o, y, 7977, 9307, o, 9087, O, 3263, x, I, F, R