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: 1, 18, ['T', '575', 'B', 'z', 'R', '4209', '9197', '5511', 'y', 'g', 't', 'f', '6287', 'E', 'f', '6907', '8621', '1675', 'Z', 'r', '6847', 'a', '5755', 'e', '2441', 'Q', '2197', '6741']

T, 575, B, z, R, 4209, 9197, 5511, y, g, t, f, 6287, E, f, 6907, 8621, 1675