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]: 6, 22, ['1141', '583', '5215', 'a', '5877', '5125', 'm', '5227', 'B', '1043', 'U', '9211', 'o', 'D', '9433', '2321', 'z', '2819', '4159', '367', '4235', 'Q', 'z', 'S']
[A]: 5125, m, 5227, B, 1043, U, 9211, o, D, 9433, 2321, z, 2819, 4159, 367, 4235, Q


[Q]: 21, 21, ['d', 'a', 'K', '2753', 'U', 't', 'Y', '9383', 'Y', 'A', '5981', '9413', 'a', '8429', '7741', 'X', '783', '185', 'R', 'B', '4883', 'K', 'p', 'M', 'o', 'p', '6485']
[A]: 4883


[Q]: 4, 6, ['5621', 'a', 'J', '7479', 'K', '3631', '5997', 'G', '1847', 'i']
[A]:
7479, K, 3631