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: 3, 20, ['8735', 'y', 'g', 'B', 'K', 'y', '3135', '5429', '8843', '1291', '8133', 'N', '6545', 'r', '1899', 'X', 'Y', '4273', '5083', 'B', '8693', '7017', '2471', 'd', '5789', 'I', '7527', 'i']

g, B, K, y, 3135, 5429, 8843, 1291, 8133, N, 6545, r, 1899, X, Y, 4273, 5083, B