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: 20, 20, ['5899', '4191', 'O', '8203', 'G', 's', '7037', 'w', 't', '8615', '5657', 'J', 'T', '3603', 'g', '8145', 'y', '7897', 'E', '4141', 'U', '7071', '9303', 'G', '2591', '7061', '5535', '2573', 'O', '5857']

4141