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, 5, ['795', 'S', '3057', '3455', '5459', 'b', '3677', 'v', '4215', 'w', 'e', '5077', '5937', 'v', '5509', 'm', 'a', '1225', '8321', '4469']

S, 3057, 3455, 5459