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.

1, 1, ['p', 'A']
p

1, 10, ['g', '587', '1897', 'V', '1735', 'o', 'j', 'i', 'Q', '1115', 'l', '7061', '1521', 'h', '6875', '5613', 'z', '2009', '3361', '7363', '6853', '185', 'I', '2197']
g, 587, 1897, V, 1735, o, j, i, Q, 1115

26, 30, ['7201', '1735', 'E', '4867', 'M', '5733', 'k', '3245', '7535', '5425', 'f', '3591', '6227', '2493', 'f', 'l', 'Y', '6555', '2935', 'g', '3541', 'f', 'K', '337', '2913', '923', 'n', 'X', 'p', 'O']

923, n, X, p, O