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, 10, ['5977', 'e', '6873', 'u', '4289', '653', 'j', 'D', '239', '3751', '9245', 'W', '7117', '201', 'w', 'k', 'Q', '2155', 'h', 'Z', 'F', '5079', 'Q', '8181', '7371', 'P', '9079', 'D', '8173', 'U']

e, 6873, u, 4289, 653, j, D, 239, 3751