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: 15, 19, ['9731', '7543', 'k', '8811', 'A', 'l', 'n', 'l', 'R', 'K', 'E', 'T', '5293', 'c', '1631', 't', '6393', 'O', 'C', '2965', 'K', '1497', '7897', 'Z', 'Q', '3261', '2303', '3331']

1631, t, 6393, O, C