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: 1, 9, ['4927', 'n', '5693', 't', 'M', '6673', 'c', '1637', 'n', '3691', '9779', '813', '1985', '6233', '4289', '6933', '2861', '2029', 'A', 'n', 'J', 't', 'P']

4927, n, 5693, t, M, 6673, c, 1637, n