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: 16, 22, ['3737', '7519', 'M', 'Z', 'u', 'G', '5145', 'A', 'X', '1861', '3385', 'x', '8207', 't', 'R', 'r', '345', 'w', 'V', 'o', '3703', '9591', 'X', '7591']

r, 345, w, V, o, 3703, 9591