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: 3, 19, ['6791', 'h', 't', '6591', 'a', 'k', 'V', 'f', '2063', 'w', '1865', '253', '6895', '4019', 'q', '4581', '1795', '9217', 't', 'f']

t, 6591, a, k, V, f, 2063, w, 1865, 253, 6895, 4019, q, 4581, 1795, 9217, t