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, ['X', '5155', '4829', 'R', '8363', '7757', 'R', 'j', '5997', '2107', 'e', '5757', '2703', '5757', 'G', 'y', '9409', '63', 'v', '1639', '5453', 'H', 't', 'o', '9607', 'o', 'V', '3409']

5155, 4829, R, 8363, 7757, R, j, 5997, 2107