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.

[Q]: 5, 9, ['6627', '6047', '8429', '4365', 'm', '6827', 'g', 'w', 'x', '4035', 'z']
[A]: m, 6827, g, w, x


[Q]: 26, 28, ['7329', '8955', '7159', 'h', 'g', 'G', 'a', 'g', 'N', 'D', '3469', '5157', '3683', 'T', '3683', '3299', '4325', '6919', 'T', '5805', '1277', 'b', 'C', 'R', 'X', 'h', '7795', '2725']
[A]: h, 7795, 2725


[Q]: 5, 5, ['1141', 'C', 'r', 'T', '9815', 'N', '4919', 'Q']
[A]:
9815