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: 7, 16, ['U', 'N', 'm', '4743', '9839', '2559', 'l', 'a', '1479', 'j', '5523', '9463', 'z', 'x', '9703', 'F', '4685', '7227']

l, a, 1479, j, 5523, 9463, z, x, 9703, F