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, 15, ['3553', 'P', 'c', 'w', 'A', '6503', '3775', 'f', '5817', 'U', '5677', 't', 'I', 'c', 't', '5749', 't', 'p', '6253', 'y', '9623', '2289', 'n', 'G', '1901', '6401', '267', '651', 'f']

w, A, 6503, 3775, f, 5817, U, 5677, t, I, c, t