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: 5, 10, ['O', '1035', 'v', '4077', '2097', '145', 'k', '2511', 'D', '6461', 'x', '8809', 'e', 'Z', 'K', 'A', '7069', '7627', '2287', '9835', 'b', 'G', '9361', '6137', '6199', '8733']

2097, 145, k, 2511, D, 6461