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: 4, 17, ['Y', 'P', 'y', 'b', '7199', '2867', 'e', 'D', 'a', '2745', 'X', '7477', '1311', '5179', '3053', 'T', 'c', 'g', 'U', '535', 'T', 'C', '6703', 'r', '6119']

b, 7199, 2867, e, D, a, 2745, X, 7477, 1311, 5179, 3053, T, c