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: 12, 19, ['6247', '1063', '865', 'K', '137', '2463', '8515', '5977', '3267', '8927', 'j', 'W', 'a', '8329', '45', '2159', '501', '4393', 'e', '5087', '7585', '2523', 'r', 'H', 'r', 'M', '9825']

W, a, 8329, 45, 2159, 501, 4393, e