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: 2, 18, ['2357', 'i', '5883', '2713', 'A', '1055', '7037', '6549', 'x', '8469', 'c', '2583', '4505', 's', '6007', '9909', 'R', '265', 'C']

i, 5883, 2713, A, 1055, 7037, 6549, x, 8469, c, 2583, 4505, s, 6007, 9909, R, 265