Definition: 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.
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']

p, 2713, Y, 8577, 7947, Y