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, 20, ['g', '275', 'p', '8793', 'Z', 'T', 'K', '9055', '8973', 'f', 'n', 'd', '9721', 'Z', '8559', '3369', 'I', '2019', '4405', 'R', '5285', 'h', '5163', '7287', '7449']

T, K, 9055, 8973, f, n, d, 9721, Z, 8559, 3369, I, 2019, 4405, R