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: 3, 20, ['5281', '7433', '2515', 'n', 'R', 'N', 'i', 'r', '7247', 'u', '3823', '8039', '7171', '649', '1541', '7935', 'p', '3565', '1127', 'Q', '2331']

2515, n, R, N, i, r, 7247, u, 3823, 8039, 7171, 649, 1541, 7935, p, 3565, 1127, Q