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: 1, 10, ['b', 'i', 't', '9977', '6007', '1769', 'Z', 's', 'T', '391', '6229', '8603', 'U', '9031', '8415', 'k', '5161', 'I', '4661', '2787', 'H', 'o', 'E', '1423', 'O', 'E', '7139', 'v', '8503', 'n']

b, i, t, 9977, 6007, 1769, Z, s, T, 391