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, ['J', 'E', 'g', '295', '8189', '7249', 'W', '8841', '7993', 'K', '6813', 'F', 'q', 'G', '9075', 'U', 'n', 'y', '8587', '5095', '3863', 'p', 'Z', '5019']

g, 295, 8189, 7249, W, 8841, 7993, K, 6813, F, q, G, 9075, U, n, y, 8587, 5095