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, 20, ['P', '2307', '1847', 'y', '2339', 'Z', '9251', 'D', '7959', 'y', 'a', '2169', '2833', 'Y', 't', 'R', '629', '7083', 'V', '1507', 'd', 'K', '3935', 'y', '8471', 'H', '4001', '3609', 'a']

y, 2339, Z, 9251, D, 7959, y, a, 2169, 2833, Y, t, R, 629, 7083, V, 1507