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: 18, 21, ['5153', 'f', '8173', 'H', 'Y', 'X', '6567', '3689', '6697', 'C', '2929', '4365', 'l', 'i', 'E', '6529', '9745', 'f', '1711', 'c', '9331', '4483']

f, 1711, c, 9331