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: 14, 26, ['5991', 'I', 'Z', 'A', 'X', '1049', 'l', '9427', '8053', '6875', '7665', '2149', 'i', '921', '7831', 'p', '4743', 'p', 'u', 'c', '4755', 'J', 'a', '171', '6925', '8857', 'u', 'E']

921, 7831, p, 4743, p, u, c, 4755, J, a, 171, 6925, 8857