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.

Example Input: 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']
Example Output: W, a, 6195, U

Example Input: 2, 2, ['E', 'j']
Example Output: j

Example Input: 4, 13, ['8947', 'v', 'c', 'z', 'G', 'A', '8185', '9885', 'r', '2059', 'B', '3625', '2349', 'f', '3909', '4975']
Example Output:
z, G, A, 8185, 9885, r, 2059, B, 3625, 2349