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, 7, ['f', 'W', 'z', 'U', '783', 'Q', '607', 'M', 'd', 'R', '2293', 'p', 'f', '2275', 'b', 'z', '4783', '139', '97', '6883', 'N', '8021', '4649', '69', 'R', '6535', 'n', '9503', '2083', 'O']

W, z, U, 783, Q, 607