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: 7, 14, ['J', 'b', '6863', 'c', 'B', '4771', '2811', 'J', 'l', 'U', '1459', '3391', 'f', 'a', 'g', '95', '2975', '1945', 'd', 'V', 'm', '5177', 'A', '5407', '9771']

2811, J, l, U, 1459, 3391, f, a