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, 14, ['4709', '1179', 'Y', 'd', '4873', '3607', '7601', 'X', '7809', '7039', '2239', 'R', '4117', 'O', 'r', '809', '4339', '4583', '1065', 'n', 'K', 'Y']

Y, d, 4873, 3607, 7601, X, 7809, 7039, 2239, R, 4117, O