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: 14, 19, ['L', '169', '7051', '4351', '8543', 'x', 'v', 'Q', '5311', '3469', '4231', 'X', '8753', 'p', '2713', 'Y', '8577', '7947', 'Y', '1935', '6429', '6005', '5451', '5565', 'e', 'x', '9049', '3715', '8145', '4521']
Example Output: p, 2713, Y, 8577, 7947, Y

Example Input: 3, 5, ['2515', '5861', 'G', '7415', 'Y']
Example Output:
G, 7415, Y