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: 4, 19, ['L', '3631', 'B', 'd', '7605', '5583', '457', '1365', 'l', '6791', 'k', 'G', '7761', 'G', 'Z', '871', 'Y', 'E', 'w', '5621', '1161', '7805', '2701', 'B', '7309']

d, 7605, 5583, 457, 1365, l, 6791, k, G, 7761, G, Z, 871, Y, E, w