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: 4, 27, ['D', '7679', 't', '1521', 'X', 'd', '8301', '1059', 'e', '4191', 'z', 'k', '679', '1937', 'Z', '519', 'z', '5929', 'k', '3535', 'z', '5061', 'v', '3657', 'M', '773', 'I']

1521, X, d, 8301, 1059, e, 4191, z, k, 679, 1937, Z, 519, z, 5929, k, 3535, z, 5061, v, 3657, M, 773, I