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: 1, 20, ['X', 'm', '3141', 'I', 'D', 'n', '8197', 'Y', '6505', 'I', '2405', '4205', '8971', 'J', '8865', 'h', '4815', '1059', 'J', 'b', 'F', '8507', '2659', 'M', 'V']

X, m, 3141, I, D, n, 8197, Y, 6505, I, 2405, 4205, 8971, J, 8865, h, 4815, 1059, J, b