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: 3, 18, ['K', '5033', 'b', '1227', 'V', 'E', '1703', '4121', 'd', '897', '4737', '627', 'w', 'I', 'i', '6477', '8351', 'Y']

b, 1227, V, E, 1703, 4121, d, 897, 4737, 627, w, I, i, 6477, 8351, Y