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, 25, ['3841', 'C', '8845', 'd', '4383', 'x', '6657', '17', '7541', 'e', 'G', 'X', '3911', '6961', '3035', 'B', 'd', '7073', '1781', 'A', 't', '7225', 'V', '5703', '8425', 'U']

7073, 1781, A, t, 7225, V, 5703, 8425