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: 16, 20, ['Q', '127', 'D', 'V', 'n', '269', '3127', 'H', 't', 'R', '8303', '8095', '9871', '4443', 'C', '3367', '4657', '7427', '1017', '829', 'R', 'o', '3721', 'O', '1931', '8169', '7011', '3373', '6239']

3367, 4657, 7427, 1017, 829