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: 17, 20, ['s', 'd', '2147', '9175', '5695', '6717', '5151', 'c', '4157', '6731', 'p', 'R', '2749', '7055', '5677', '8841', '4849', '2803', '8337', '3797', 'l', '9811']

4849, 2803, 8337, 3797