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: 9, 19, ['7367', '4065', '4677', 'R', 'L', '6151', '227', '6185', 'O', 'f', '9919', '2685', '4475', '447', 'M', '6999', 'h', '3151', 'b', 'y']

O, f, 9919, 2685, 4475, 447, M, 6999, h, 3151, b