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, 26, ['5807', 'd', 'M', 'G', '2375', 'Z', '3847', '4833', '2235', '3825', 'S', 't', 'X', 'R', 'q', '5809', '779', '1879', 'A', 'F', 'h', '2953', 'b', '8731', '9789', '5363', 'T', 'V', '8889']

t, X, R, q, 5809, 779, 1879, A, F, h, 2953, b, 8731, 9789, 5363