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: 12, 20, ['3123', 'w', '7973', 'n', 'T', '4347', '8401', '4557', 't', 'J', 'x', 'B', 'a', 'V', '5131', '3055', 'P', '8627', '2257', 'J', '4823', '6413', 'C', '1219']

B, a, V, 5131, 3055, P, 8627, 2257, J