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]: 3, 4, ['J', '9645', '47', '7983']
[EX A]: 47, 7983

[EX Q]: 5, 6, ['B', '8347', '19', '811', '2127', '5421', 'Q', '7737', '2515', 'E', 'w', '4597', 'h', '3561', '2083', '8251', '6909', 'm', '4167', 'g', 'U', 'a', 'G', '7573', '4045']
[EX A]: 2127, 5421

[EX Q]: 4, 5, ['f', '99', 'P', '7595', 'X', '2671', 'l']
[EX A]:
7595, X