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: 6, 17, ['4687', '5537', 'w', 'w', 'G', '1719', '8753', 'K', 'u', '8041', 'i', 'E', '1869', '9707', '2545', '1433', 'A', '4787', '331', '9091', '9177', '4419', 'c', '3447']

1719, 8753, K, u, 8041, i, E, 1869, 9707, 2545, 1433, A