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.
--------
Question: 1, 5, ['f', 'l', 'z', 'J', 'K', 'P', '4595']

Answer: f, l, z, J, K


Question: 5, 14, ['f', '8707', '1339', 'E', '4189', '4811', 'R', '2827', 'R', 'X', 'f', '6735', 'C', 'o', '601', 'h', 'c', 'R']

Answer: 4189, 4811, R, 2827, R, X, f, 6735, C, o


Question: 22, 30, ['T', 'Y', 'K', '561', 'G', '9531', '743', '9113', 'L', 'J', '6441', '9643', 'w', 'n', '685', 'm', '93', 'E', 'j', 'M', '81', 'K', 'b', '2211', '7677', 'd', 'x', '3385', '257', 'O']

Answer:
K, b, 2211, 7677, d, x, 3385, 257, O