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, 9, ['773', '7927', '6951', 'W', '6777', 'S', 'N', '2027', 's', '3339', '2937', 's', '4435', '4545', 'y', '3275', 'x', '663', '2799', '3061', '1311', '2713', 's', 'r', '603', '837', '9213', '2041']

W, 6777, S, N, 2027, s