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.

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']
2127, 5421

19, 22, ['5651', 'Y', 'P', 'f', '5051', '5901', 'v', 'T', 'n', '2657', '9145', 'j', '653', '7875', '8315', '4719', '9563', 'l', 'W', 'a', '6195', 'U', '3697', '1089', '8673']
W, a, 6195, U

9, 16, ['3449', 'R', '5759', 't', '991', '1121', 'M', 'X', 'B', '7091', '9361', '3579', '2075', 'r', 's', 'e', 'H', 'p', 'Y', '9513', 'P']

B, 7091, 9361, 3579, 2075, r, s, e