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, 19, ['f', 'C', 'j', 'J', '7703', '803', '6935', '9821', '263', 'r', '4823', 'b', '1945', 'G', '9535', '7779', '643', '3371', 'u', 'T', 'O']

643, 3371, u