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.

1, 7, ['g', '8661', '8669', '9009', '8163', 't', '3907', '5713', '9779', '157', '6175', 'v', 'F', 'v', '6393', 'D']
g, 8661, 8669, 9009, 8163, t, 3907

1, 1, ['2313', 'X', 'P', 'l']
2313

1, 6, ['Q', '5223', '8333', 'Z', 'r', 'R', 'r']

Q, 5223, 8333, Z, r, R