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, ['8455', 'M', '7441', '9375', 'R', 'm', '417', 's', 'H', 'W', '3267', 'b', '9365', '5477', 'c', 'o', '2651', 'P', '8531', 'J', 'z', 'O', '5729', 'D', 'N']

o, 2651, P, 8531, J