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, 17, ['R', '2395', '9101', '3767', 'F', 'Y', '7151', 'k', 'f', '421', '8937', '8769', '9087', '1671', '7335', '6733', '7577', 'Y', 'w', '9193']

7577