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: 21, 26, ['277', 'I', 'r', '3309', 'w', 'q', '1149', 'B', '5667', '9443', '7147', '5869', '1195', 'b', 'H', '5411', 'o', 'i', 't', 'U', 'j', 'Z', 'e', '6121', '1943', '5555', '5685', 'e']

j, Z, e, 6121, 1943, 5555