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, 20, ['r', '8399', 'T', '6909', '1013', 'C', '719', '8343', 'P', '1683', '6711', '7187', '6419', 'n', 'w', 'M', '5641', '2837', '7731', 'R', '8673', 'm', '6019', 'f', '9411', 'I', '5883', '6723', '7989', '6805']

r, 8399, T, 6909, 1013, C, 719, 8343, P, 1683, 6711, 7187, 6419, n, w, M, 5641, 2837, 7731, R