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, ['R', 'n', '3847', '6657', 'a', '9021', '3915', '6647', 'e', '5103', '503', '7391', 'c', 'F', '3067', 'n', '7909', '7259', 'A', 'j', 'I', 'L']

R, n, 3847, 6657, a, 9021, 3915, 6647, e