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.

[EX Q]: 6, 7, ['8865', '8237', 'f', 'u', '3959', '1603', 'X', 'I', 'Q', '8641', '7029', '3099', '8143', 'W', 'Z', 's', '4381', '5739', 'K', 'E', '7831']
[EX A]: 1603, X

[EX Q]: 4, 19, ['L', 'G', 'N', 'K', 'x', 'j', '1541', '599', 'm', '7443', '7587', 'p', 'p', '3433', '9607', '9963', 'K', '1933', '2227', '6975']
[EX A]: K, x, j, 1541, 599, m, 7443, 7587, p, p, 3433, 9607, 9963, K, 1933, 2227

[EX Q]: 5, 8, ['9841', '1145', '3213', '3665', '1531', 's', 's', '9367', '2847', '9041', 'Z']
[EX A]:
1531, s, s, 9367